libguestfs
- Android app
- Not listed
- Free plan
- Yes
- Runs on
- api, Linux, Mac, self-hosted, Windows

Summary
libguestfs is a free library and toolset for accessing and modifying virtual machine disk images. It can view and edit guest files, script changes to VMs, create or resize images, make backups, clone machines and build VMs. The project says it can work with almost any disk image, including VMware and Hyper-V images, and with images created by VMware, KVM, qemu, VirtualBox, Xen and other hypervisors; libvirt is not required. Command-line users can use guestfish, a scriptable shell, or virt-rescue, an interactive rescue shell. The C library has bindings for many programming languages, with examples in C/C++, Erlang, Go, Java, Lua, OCaml, Perl, Python and Ruby. Guest filesystems are accessed through a Linux kernel in a qemu virtual machine, usually as a non-root user; sVirt with libvirt and SELinux can also be used. It runs on many Linux distributions and Mac OS X, while some virt tools have been ported to Windows. Non-Linux systems may require compiling from source and porting.
Who it is for
It suits developers and administrators who need to inspect or change virtual machine disk images, automate VM edits or build image-management workflows. Users on non-Linux systems should account for the need to compile from source and port it.
What is good
- Free open-source library and tools.
- Supports raw, qcow2, vmdk, vdi, vpc and vhd.
- Works with images from several hypervisors without libvirt.
- Includes scriptable and interactive command-line shells.
- C bindings and examples cover many languages.
What to know first
- Non-Linux systems may require source compilation and porting.
- Windows support is limited to some virt tools being ported.
Verdict
libguestfs offers a broad set of disk-image tasks through both command-line tools and a library. It is a fit for technical workflows, with extra setup likely on non-Linux systems.
libguestfs plans and pricing
All plansCompared on virtual drive software
- Free plan
- Yeslibguestfs.org
- Image formats
- raw, qcow2, vmdk, vdi, vpc, vhdlibguestfs.org
- Virtual disk files
- Yeslibguestfs.org
- Optical image mounting
- Yeslibguestfs.org
- Supported platforms
- Linux, Mac OS X; some virt tools have been ported to Windowslibguestfs.org
Facts
- Purpose
- libguestfs is a library and set of tools for accessing and modifying virtual machine disk images.libguestfs.org · 29 Sept 2026
- Disk image tasks
- It can view and edit guest files, script VM changes, create and resize images, perform backups, clone VMs, and build VMs.libguestfs.org · 29 Sept 2026
- Image compatibility
- The project says it can access almost any disk image, including images from VMware and Hyper-V.libguestfs.org · 29 Sept 2026
- Security
- It accesses guest filesystems through a Linux kernel in a qemu virtual machine, usually running as a non-root user, and can use sVirt with the libvirt backend and SELinux.libguestfs.org · 29 Sept 2026
- Command line
- The functionality is available through guestfish, a scriptable shell, and virt-rescue, an interactive rescue shell.libguestfs.org · 29 Sept 2026
- Developer interfaces
- libguestfs is a C library with bindings for many programming languages, and the site provides examples for C/C++, Erlang, Go, Java, Lua, OCaml, Perl, Python, and Ruby.libguestfs.org · 29 Sept 2026
- Integration
- The FAQ says libvirt is not required and libguestfs works with disk images created by VMware, KVM, qemu, VirtualBox, Xen, and other hypervisors.libguestfs.org · 29 Sept 2026
- Downloads
- The project provides source downloads and lists installation commands for Fedora, Red Hat Enterprise Linux, Debian, and Ubuntu.libguestfs.org · 29 Sept 2026
- Supported systems
- The FAQ says libguestfs runs on many Linux distributions and Mac OS X, while some virt tools have been ported to Windows.libguestfs.org · 29 Sept 2026
- Support
- Users can ask questions on the libguestfs mailing list or IRC channel #guestfs on Libera Chat; Red Hat Enterprise Linux customers are directed to Red Hat Support.libguestfs.org · 29 Sept 2026
- Security reporting
- The security guide directs private reports to Red Hat's security procedure and allows less serious issues to be filed as bugs or sent to the mailing list.libguestfs.org · 29 Sept 2026
- Limit
- The FAQ says non-Linux systems require compiling from source and porting libguestfs.libguestfs.org · 29 Sept 2026
- Maker
- The GitHub repository copyright notice names Red Hat Inc.github.com · 29 Sept 2026
Company
- Founded
- 2009libguestfs.org · 28 Sept 2026
Best libguestfs alternatives
See all 20Where it ranks on Everything Xiaomi
Is libguestfs yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- libguestfs.org· checked 29 Sept 2026
- libguestfs.org/guestfs-security.1.html· checked 29 Sept 2026
- libguestfs.org/guestfs-faq.1.html· checked 29 Sept 2026
- github.com/libguestfs/libguestfs· checked 29 Sept 2026


