Jump to content

libguestfs

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dawynn (talk | contribs) at 11:45, 18 September 2014 (Stub-sorting. You can help!). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
libguestfs
Developer(s)Richard Jones
Initial releaseApril 4, 2009; 16 years ago (2009-04-04) [1]
Stable release
1.26.3 / 24 May 2014; 11 years ago (2014-05-24) [2] [3]
Written inC; utilities in OCaml Perl, et al.
Operating systemLinux
TypeVirtualization
LicenseLGPL, GPL
Websitelibguestfs.org

libguestfs is 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 managed by libvirt and files inside guests, scripting changes to VMs, monitoring disk used/free statistics, creating guests, P2V, V2V, performing partial backups, cloning VMs, and much else besides.[4]

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

All this functionality is available through a convenient shell called guestfish, or use virt-rescue to get a rescue shell for fixing unbootable virtual machines. Multiple editing tools are available modeled after ordinary Unix commands, such as virt-cat and virt-tar.[5]

libguestfs is also an API and its implementation as a library 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.

[6] and

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

See also

References

  1. ^ "Historical releases of libguestfs".
  2. ^ "libguestfs 1.26 released".
  3. ^ "libguestfs 1.26 download".
  4. ^ "Description from home page".
  5. ^ "Features in Fedora 12".
  6. ^ "Description from home page".
  7. ^ "Internal description of libguestfs".