libguestfs is a set of tools for accessing and modifying virtual machine (VM) disk images. You can use this for viewing and editing files inside guests, scripting changes to VMs, monitoring disk used/free statistics, P2V, V2V, performing partial backups, cloning VMs, and much more. libguestfs can access nearly any type of filesystem including: all known types of Linux filesystem (ext2/3/4, XFS, btrfs, etc.), any Windows filesystem (VFAT and NTFS), any Mac OS X and BSD filesystems, LVM2 volumes, MBR and GPT disk partitions, raw disks, qcow2, CD and DVD ISO images, SD cards, and dozens more. libguestfs doesn't need root permissions.
| Tags | virtualization management Filesystems |
|---|---|
| Licenses | GPLv2 LGPL |
| Operating Systems | Linux |
| Implementation | C C++ Perl OCaml Python shell script Java Ruby |
Recent releases


Release Notes: This release adds SVirt for secure containment of guests. It supports disk hotplugging and up to 255 disk images at once. New support for: POSIX ACLs, Linux capabilities, Windows dynamic disks, and Lua bindings. Multiple enhancements to virt-sysprep. Supports rsync to synchronize disk images with the host filesystem (both ways). Dozens of bugfixes.


Release Notes: virt-sysprep has been rewritten and expanded. virt-sparsify can find more sparseness in Linux guests. virt-make-fs can make btrfs. virt-edit preserves all IDs and file permissions. FUSE is included directly in the core API. Over 30 bugs have been fixed.


Release Notes: New virt-alignment-scan, virt-sparsify, and virt-sysprep tools were added. Virt-resize can now resize Ubuntu guests, and fix alignment issues in Windows and Linux guests. 'guestmount --live' works. Systemtap support was added. Virt-cat now supports Windows drive letters and paths. Erlang bindings were added. 18 bugs have been official fixed, and many more unofficially.


Release Notes: Virt-inspector can now extract OS icons from VMs. Virt-resize can resize guests using btrfs. Guestfish can be used to append to files. Virt-ls supports an easily greppable output format Virt-win-reg supports HKEY_USERS. Java is now a first class supported language. Many incremental improvements throughout the virt tools.


Release Notes: The --live option allows use with live virtual machines. New tools include: virt-copy-in, virt-copy-out, virt-tar-in, and virt-tar-out. Support for Windows drive letter mappings. virt-resize now works with 32-bit machines. You can use virt-inspector on live CDs. The new event API allows you to capture log message events and more. More support for progress notifications for long-running commands. The Java and Ruby bindings have been improved. Inspection has been improved for Windows guests.