libguestfs

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
libguestfs
Libguestfs-logo.svg
Developer(s) Richard Jones
Initial release April 4, 2009; 15 years ago (2009-04-04) [1]
Stable release 1.30.6 / 16 December 2015; 8 years ago (2015-12-16) [2]
Written in C; utilities in OCaml Perl, et al.
Operating system Linux
Type Virtualization
License LGPL, GPL
Website libguestfs.org

libguestfs is a C library and a set of tools for accessing and modifying virtual disk images used in platform virtualization. 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.[3]

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. libguestfs does not require root permissions.

The functionality is available through a shell called guestfish. There is a rescue shell called virt-rescue for fixing unbootable virtual machines. Multiple tools are available modeled after ordinary Unix commands, such as virt-cat and virt-tar.[4]

libguestfs is also an API that can be linked with C and C++ management programs and has bindings for Perl, Python, Ruby, Java, OCaml, PHP, Haskell, Erlang and Lua and Golang and C#. You can also use it from shell scripts or the command line. Using our FUSE module you can also mount guest filesystems on the host. [5]

libguestfs is implemented using the Kernel-based Virtual Machine for the Linux kernel.[6]

See also

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.

External links