Received: from eggs.gnu.org ([140.186.70.92]:46286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYhHG-0004X9-9x for qemu-devel@nongnu.org; Mon, 20 Jun 2011 12:24:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QYhHE-00014W-GA for qemu-devel@nongnu.org; Mon, 20 Jun 2011 12:24:41 -0400 Received: from mail-iw0-f173.google.com ([209.85.214.173]:48845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYhHD-00013w-O6 for qemu-devel@nongnu.org; Mon, 20 Jun 2011 12:24:40 -0400 Received: by iwn3 with SMTP id 3so2567671iwn.4 for ; Mon, 20 Jun 2011 09:24:38 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 20 Jun 2011 18:24:38 +0200 Message-ID: From: Joel Uckelman Content-Type: text/plain; charset=UTF-8 Subject: [Qemu-devel] unix domain socket communication with guests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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?