I've now had a chance to try out the UML driver for libvirt.  My host
platform was CentOS 5 and the guest CentOS 4, with a 2.6.27.2 kernel
configured as 'make defconfig ARCH=um'.  I used uml:///session as an
unprivileged user.

The CVS snapshot tarball on the libvirt.org ftp site was out of date:
use the cvs command to fetch the source.

My host system hadn't been set up for UML before so virsh didn't work
until I'd:

   created the directory ~/.uml (which doesn't exist if you haven't
   run a UML instance yet);

   installed the UML utilities (because libvirt checks that uml_mconsole
   exists, even though it doesn't use it).

Once I'd figured that out I was able to start a virtual machine from
virsh and see it using the list command.

However, connecting to the guest's console was very unreliable (No
console available for domain).  Also, all attempts to shut down the
guest from virsh failed (libvir: Remote error :  socket closed
unexpectedly).  Once that had happened the domain was no longer shown
by the list command.

BTW, is there a way to disconnect from the guest console?

Ron

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to