On Fri, Aug 09, 2013 at 05:58:04PM +0100, Richard W.M. Jones wrote:
This is a User-Mode Linux backend for libguestfs. You can select it by doing:
export LIBGUESTFS_BACKEND=uml export LIBGUESTFS_QEMU=/path/to/vmlinux
Note we're reusing the 'qemu' variable in the handle for convenience. QEmu is not involved when using the UML backend.
This almost works. UML itself crashes when the daemon tries to connect to the serial port. I suspect it's because I'm using the 'ssl3=fd:<N>' option.
Neat. We also have a (possibly not quite working) UML driver in libvirt which I added mostly for fun. I wonder what work libvirt UML would require in order to support libguestfs usage. There's plenty of scope for integrating the libvirt UML driver with libvirt's auditing, svirt, and cgroups infrastructure too, if anyone thinks UML is still actually useful in the real world. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|