On Wed, Jun 01, 2011 at 03:10:20PM +0200, Joel Uckelman wrote:
I think I've fished out the command-line options you send to qemu-kvm:
qemu-kvm -kernel kernel -initrd initrd -hda root -device virtio-serial -serial stdio -chardev socket,path=/home/uckelman/projects/lightbox/supermin/foo,id=channel0,name=org.libguestfs.channel.0
Thanks for that.
I can definitely run my appliance this way if I already have something listening on that FIFO before launching qemu. (E.g.: socat UNIX-LISTEN:foo STDOUT) The piece of the puzzle I'm still missing is how to connect to the socket from the guest side. I was expecting to find something in the guest's /dev, but I have the same entries there as before.
It seems likely that you either don't have udev running in the guest or your guest kernel is too old. IIRC it has to be >= 2.6.36 in order to support virtio-serial. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top