qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] unix domain socket communication with guests
@ 2011-06-20 16:24 Joel Uckelman
  2011-06-21  8:47 ` Amit Shah
  0 siblings, 1 reply; 6+ messages in thread
From: Joel Uckelman @ 2011-06-20 16:24 UTC (permalink / raw)
  To: qemu-devel

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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-06-27  9:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20 16:24 [Qemu-devel] unix domain socket communication with guests Joel Uckelman
2011-06-21  8:47 ` Amit Shah
2011-06-23 15:37   ` Joel Uckelman
2011-06-24  2:54     ` Amit Shah
2011-06-24 10:54       ` Joel Uckelman
2011-06-27  9:41         ` Amit Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).