Yes it's safe to install it. It may or may not work inside a VM if nested KVM is broken. If it fails, try setting:
export LIBGUESTFS_BACKEND_SETTINGS=force_tcg
and if that doesn't work run `libguestfs-test-tool`.
Debian Lenny (5) is far too old. You need to use Debian 7. Debian 6 is possible, but you need to install a whole bunch of backports to make it work. See: http://libguestfs.org/guestfs-faq.1.html#binaries
libguestfs does NOT depend on libvirt, if compiled from source.
For the original poster: Problem #1 is that you need qemu-kvm that has virtio-serial (which is true for any qemu for the last 2-3 years). You also need kernel >= 2.6.34 for the same reason.
Problem #2: You need to install...
I'm fairly certain (without actually trying it) that libguestfs would work. We certainly run libguestfs on Debian.
There are x86-64 mostly-static binaries on the download page that should work.
libvirt is required, although it is only used for things like resolving guest names to disk images...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.