On Sun, Mar 20, 2016 at 04:05:19PM +0000, Richard W.M. Jones wrote:
On Sun, Mar 20, 2016 at 05:28:05PM +0200, Török Edwin wrote:
> Thought to try booting a Xen PV domain for comparison, but AFAICT
> libguestfs doesn't support LIBGUESTFS_BACKEND=libvirt:xen:///
No, this isn't really going to work. It's a bunch of work to support
completely different hypervisors like Xen, even with libvirt helping.
BTW I didn't want to discourage you from running Xen. It's probably
possible to get Xen working by modifying the XML generated by
src/launch-libvirt.c. A good start would be to change the <domain
type=> so it doesn't hard code 'kvm' or 'qemu', but works out the
correct type to use from the capabilities.
An alternative is to add a new backend using libxc (or whatever is
Xen's API-du-jour). An example of how to add a new backend is here:
https://github.com/rwmjones/libguestfs/tree/lkl
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org