From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb8Ja-0000WT-VW for qemu-devel@nongnu.org; Mon, 27 Jun 2011 05:41:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qb8JZ-00069o-FR for qemu-devel@nongnu.org; Mon, 27 Jun 2011 05:41:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb8JZ-00069a-1G for qemu-devel@nongnu.org; Mon, 27 Jun 2011 05:41:09 -0400 Date: Mon, 27 Jun 2011 15:11:02 +0530 From: Amit Shah Message-ID: <20110627094102.GC9369@amit-x200.redhat.com> References: <20110621084720.GA4793@amit-x200.redhat.com> <20110624025456.GA3265@amit-x200.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] unix domain socket communication with guests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Joel Uckelman Cc: qemu-devel@nongnu.org On (Fri) 24 Jun 2011 [12:54:07], Joel Uckelman wrote: > On Fri, Jun 24, 2011 at 4:54 AM, Amit Shah wrote= : > >> > >> I guess this means I need to get networking running on the guest so > >> that it has a port visible to the host on which my server can listen. > >> Is there a guide somewhere for doing that? I've not had any success = in > >> an afternoon of searching and trying. > > > > Can't say I understand what you're trying to accomplish. =A0If you wa= nt > > to just pass data between a guest and host w/o networking, > > virtio-serial is one way of doing it. =A0If you have networking enabl= ed > > and the host and guest can talk to each other, TCP or UDP > > communication will work as usual. > > > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Amit >=20 > I have a server which I want to run on the guest, and one or more > clients which I want to run on the host. So, I need something I can > bind(2) to on the guest side, and something I can connect(2) to on the > host side. Is that clearer? Is this possible to do with virtio-serial? No, not possible. You could explore using virtio-9pfs with slightly different semantics. Amit