I'm trying to set up a unix domain socket with a guest on one end and the host on the other, where the server is running on and bound to the socket on the guest. I've been able to get the reverse, where the server is running on the host, this way:
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 But, when I try to bind(2) on the guest, I get an "Address already in use" error. Adding the "server,nowait" options to -chardev doesn't help---I still get the same error. What am I doing wrong here?