From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dkqoj-0008CV-4Q for qemu-devel@nongnu.org; Tue, 21 Jun 2005 18:02:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dkqoh-0008Be-92 for qemu-devel@nongnu.org; Tue, 21 Jun 2005 18:02:00 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dkqni-0007UM-Un for qemu-devel@nongnu.org; Tue, 21 Jun 2005 18:00:59 -0400 Received: from [65.74.133.9] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DkqVz-0001Lg-8M for qemu-devel@nongnu.org; Tue, 21 Jun 2005 17:42:39 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Looking for an easy way to exchange data bidirectional between host and guest (including some suggestion) Date: Tue, 21 Jun 2005 22:39:14 +0100 References: <42A061E3.8010804@xtal.rwth-aachen.de> <42B82164.6060609@xtal.rwth-aachen.de> <20050621200235.GA4350@jbrown.mylinuxbox.org> In-Reply-To: <20050621200235.GA4350@jbrown.mylinuxbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506212239.14333.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Jim C. Brown" > Not a lot yet. I have a minimal ftp server that would be perfect to use > with qemu, with much of the code rewritten. However, to make it interface > with slirp a lot more work is needed (basicly the ftp server uses sockets > while slirp works with tcp/ip packets directly. Thus I have to write a big > interface layer (a sort of BSD sockets library on top of the slirp tcp/ip > stack). Can't you just make the ftp code listen on a loopback socket, then use the normal slirp forwarding code? Paul