From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BEEVR-0008WI-0E for qemu-devel@nongnu.org; Thu, 15 Apr 2004 17:34:45 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BEEUn-00080f-E2 for qemu-devel@nongnu.org; Thu, 15 Apr 2004 17:34:36 -0400 Received: from [193.252.22.30] (helo=mwinf0103.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BEEUn-0007zX-2T for qemu-devel@nongnu.org; Thu, 15 Apr 2004 17:34:05 -0400 Received: from bellard.org (ATuileries-112-1-1-212.w80-11.abo.wanadoo.fr [80.11.167.212]) by mwinf0103.wanadoo.fr (SMTP Server) with ESMTP id CE4E21BFFFD6 for ; Thu, 15 Apr 2004 23:34:02 +0200 (CEST) Message-ID: <407F0042.7090407@bellard.org> Date: Thu, 15 Apr 2004 23:36:02 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] Win32 usermode only network possible? [was: multiple VMs] References: <000701c41cbf$49b386d0$0401a8c0@putte2k> <4074604D.6030201@bellard.org> <1081989718.17780.10.camel@bach> In-Reply-To: <1081989718.17780.10.camel@bach> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Rusty Russell wrote: > On Thu, 2004-04-08 at 06:10, Fabrice Bellard wrote: > >>Hi, >> >>I like very much the idea of enabling network use without any priviledge >>rights for Linux and win32. I have looked at the SLiRP code and it seems >>easy to do (at least for Linux, for win32 I have not looked how to do >>that with the SDL event loop). >> >>Expect this feature to come in the next few days :-) > > > Damn, I've been working on exactly this, but as a separate process which > hands qemu the -tun-fd= arg to a pipe. > > The advantage of this is that you can add restrictions etc, and it > should work with minor mods for all the emulators out there. > > If you've completed it by the time you get this, I'll abandon mine... > Rusty. I did not have time to complete it, but I managed to get the interesting part of SLiRP compiling inside QEMU. I can send it to you if you are interested. I would really prefer that it is integrated in QEMU (using external processes is always more difficult for users and it is more difficult to port to other OSes), so making a library should be the right solution. An important patch would be to add DHCP and ARP support in SLiRP. I did not begin to do that, but it should be simple to add. Fabrice.