From Fedora Project Wiki
Offline Manipulation of Virtual Machines
libguestfs is a new library for accessing and modifying guest disk images. Using Linux kernel and QEMU code, libguestfs can access any type of guest filesystem that Linux and QEMU can
The following tools are provided by libguestfs:
guestfish- Provides an interactive shell for editing virtual machine filesystems and executing commands in the context of the guest.virt-inspector- Displays OS version, kernel, drivers, mount points, applications, etc. in a virtual machine.- Bindings for OCaml, Perl, Python, Ruby, and Java programming languages.
For further details refer to:
- http://et.redhat.com/~rjones/libguestfs/ -- Project page
- http://et.redhat.com/~rjones/libguestfs/recipes.html -- Examples of
guestfishusage
