[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Looking for an easy way to exchange data bidirectional

From: Jim C. Brown
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 17:47:48 -0400
User-agent: Mutt/1.4i

On Tue, Jun 21, 2005 at 10:39:14PM +0100, Paul Brook wrote:
> > 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

Yes, as I said in my original email:

> The other approach that I've opted out of is to hack slirp to have support for
> the ftp protocol and run the server externally thru real sockets. If you or
> anyone else wants to try this, I'm willing to help a little.

There is nothing wrong with using the slirp forwarding code (it would probably
be a lot easier to get to work), I just think that its overkill to have to
open a socket (rather, one for each data connection) on the host just so qemu
can talk to itself.

Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]