Libguestfs
libguestfs is a C library and a set of tools for accessing and modifying virtual disk images used in platform virtualization.[src] The tools can be used for viewing and editing virtual machines (VMs) managed by libvirt and files inside VMs, scripting changes to VMs, creating VMs, and much else besides.[src] It was created to avoid security issues that occur when virtual disk images are mounted directly on the host system.[src] libguestfs can access nearly any type of file system 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 volume management, MBR and GPT disk partitions, raw disks, qcow2, VirtualBox VDI, VMWare VMDK, Hyper-V VHD/VHDX, on files, local devices, CD and DVD ISOs, SD cards, or remotely over FTP, HTTP, SSH, iSCSI, NBD, GlusterFS, Ceph, Sheepdog, and much more.[src] libguestfs does not require root permissions.[src] The C API for libguestfs can be linked with C and C++ programs.[src] It has official bindings for Perl, Python, Ruby, Rust, Java, OCaml, PHP, Haskell, Erlang, Lua, Golang and C#.[src] libguestfs comes with command-line programs that allows use from shell scripts or in the command line.[src] It has two "shells" of its own providing for interactive use, for general operations and for fixing unbootable virtual machines.…[src]
libguestfs is a C library and a set of tools for accessing and modifying virtual disk images used in platform virtualization.[src] The tools can be used for viewing and editing virtual machines (VMs) managed by libvirt and files inside VMs, scripting changes to VMs, creating VMs, and much else besides.[src] It was created to avoid security issues that occur when virtual disk images are mounted directly on the host system.[src] libguestfs can access nearly any type of file system 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 volume management, MBR and GPT disk partitions, raw disks, qcow2, VirtualBox VDI, VMWare VMDK, Hyper-V VHD/VHDX, on files, local devices, CD and DVD ISOs, SD cards, or remotely over FTP, HTTP, SSH, iSCSI, NBD, GlusterFS, Ceph, Sheepdog, and much more.[src] libguestfs does not require root permissions.[src] The C API for libguestfs can be linked with C and C++ programs.[src] It has official bindings for Perl, Python, Ruby, Rust, Java, OCaml, PHP, Haskell, Erlang, Lua, Golang and C#.[src] libguestfs comes with command-line programs that allows use from shell scripts or in the command line.[src] It has two "shells" of its own providing for interactive use, for general operations and for fixing unbootable virtual machines.[src] Multiple tools are available modeled after ordinary Unix commands, such as and .[src] Through the FUSE module, guest filesystems can be mounted on the host with the command.[src] libguestfs works in part by running an appliance (a tiny Linux distribution) inside of a virtual machine.[src] This can be achieved through either QEMU or libvirt.[src] These two can in turn use either TCG (software emulation) or KVM (hardware-accelerated).[src]
23 sentences · 23 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Libguestfs." encyclopegia.org, 2026, https://encyclopegia.org/wiki/libguestfs. Accessed 25 November 2026.
Chicago
"Libguestfs." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/libguestfs.
APA
encyclopegia.org. (2026). Libguestfs. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/libguestfs
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON