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.


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to