libvirt
Shares rank 9 of 19 virtual machine tools by recommenders
Free tool for scripting and managing KVM/QEMU virtual machines, with a backwards-compatible interface. Critics cite XML-heavy configuration and flaky USB passthrough.
Free tool for scripting and managing KVM/QEMU virtual machines, with a backwards-compatible interface. Critics cite XML-heavy configuration and flaky USB passthrough.
25 people gave an opinion
- recommend it
- 14
- criticize it
- 11
- approval share
- 56%
Recommended in 7 of 13 months
- November 2025: recommended
- December 2025: not recommended
- January 2026: recommended
- February 2026: not recommended
- March 2026: recommended
- April 2026: not recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: not recommended
- September 2026: recommended
- October 2026: not recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 14 people recommend itNeeds 10 or more, met.
- 1.2 recommenders for every criticNeeds 2 to 1 or better, not met.
- Recommended in 7 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Scriptable, easy to automate
“I threw together this script[0] using libvirt to give claude its own graphical desktop env”
Comment from 18 Jul 2026 in “Setting up your spare Mac for Claude Code to control, a step-by-step guide” “with libvirt you can easy script out what the initial environment and network stack is”
Comment from 18 Jul 2026 in “Setting up your spare Mac for Claude Code to control, a step-by-step guide” “Libvirt is scriptable enough for that”
Comment from 27 Mar 2026 in “Moving from GitHub to Codeberg, for lazy people” Easy VM setup and management
“making local VMs so trivial to spin up and manage”
Comment from 3 Jan 2026 in “Microsoft kills official way to activate Windows 11/10 without internet” “stuff like this is pretty easy to setup”
Comment from 28 Nov 2025 in “How to use Linux vsock for fast VM communication” “Libvirt isn't even difficult”
Comment from 8 Sep 2026 in “Leaving VMware just got harder after Broadcom pulled VDDK downloads” Lower cost than VMware
“For custom SMB I still think libvirt is a lower entry cost”
Comment from 26 Jun 2026 in “Run isolated sandboxes with full lifecycle control: AWS introduces MicroVMs” “I saved a bunch of money over VMware.”
Comment from 7 Sep 2026 in “Leaving VMware just got harder after Broadcom pulled VDDK downloads”
What people warn about
Each mark is one comment
XML-heavy configuration
“I also wanted to avoid libvirt's mountain of XML”
Comment from 20 Apr 2026 in “Show HN: Holos – QEMU/KVM with a compose-style YAML, GPUs and health checks” “simpler than libvirt and no XML to deal with”
Comment from 12 Nov 2025 in “A brief look at FreeBSD” Requires QEMU internals knowledge
“To configure a qemu vm via libvirt you need to learn two concepts: the qemu internals, and how they're mapped to libvirt properties.”
Comment from 10 Jul 2026 in “Ditching Vagrant: VMs with KVM and Virsh on Debian” “a convoluted QEMU and libvirt setup”
Comment from 23 Apr 2026 in “I Am Building a Cloud”
Other virtual machine tools people recommend
The four most recommended other virtual machine tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| QEMU | 114 | 42 | 73% | 12 | 16 yrs4 owners | Approved |
| UTM | 49 | 11 | 82% | 12 | 1 yr3 owners | Approved |
| VirtualBox | 34 | 33 | 51% | 12 | 18 yrs3 owners | — |
| Lima | 31 | 3 | 91% | 11 | — | Approved |
| libvirtThis page | 14 | 11 | 56% | 7 | — | — |
What people said
23 of the 28 comments that mention it, newest first. Each links to the original comment.
“Libvirt isn't even difficult”
“I saved a bunch of money over VMware.”
“with libvirt you can easy script out what the initial environment and network stack is”
“I threw together this script[0] using libvirt to give claude its own graphical desktop env”
“libvirt takes backwards compatibility extremely seriously”
“To configure a qemu vm via libvirt you need to learn two concepts: the qemu internals, and how they're mapped to libvirt properties.”
“Membership in the libvirt group is root-equivalent, not a permissions fix.”
“For custom SMB I still think libvirt is a lower entry cost”
“the VM refuses to boot when provided with an ISO (via virtual CDROM) with a meaningless error”
“have been smoothly VM gaming for a few years”
“every time I try to use OI in libvirt I have a problem”
“a convoluted QEMU and libvirt setup”
“I also wanted to avoid libvirt's mountain of XML”
“amazingly fragmented, inconsistent and out of date”
“Libvirt is scriptable enough for that”
“USB passthrough is a feature that doesn't always work in a stable manner with libvirt.”
“This is not possible using libvirt based tools because of a bug between libvirt and NVIDIA’s Linux drivers.”
“My libvirt setup does this right now”
“making local VMs so trivial to spin up and manage”
“stuff like this is pretty easy to setup”
“it works with KVM, Xen, VMware ESXi, QEMU etc...”
“simpler than libvirt and no XML to deal with”
“what your company likely needs is some implementation of libvirtd or proxmox”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.