From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G9IR5-0006CB-BS for qemu-devel@nongnu.org; Sat, 05 Aug 2006 05:27:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G9IR4-0006B6-Ho for qemu-devel@nongnu.org; Sat, 05 Aug 2006 05:27:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G9IR4-0006Ax-Cr for qemu-devel@nongnu.org; Sat, 05 Aug 2006 05:27:10 -0400 Received: from [66.249.82.237] (helo=wx-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G9IUp-00085V-4h for qemu-devel@nongnu.org; Sat, 05 Aug 2006 05:31:03 -0400 Received: by wx-out-0506.google.com with SMTP id r21so228066wxc for ; Sat, 05 Aug 2006 02:27:09 -0700 (PDT) Message-ID: <3ed52ec0608050227q3f0d2ca9p2576b4b108bcf77c@mail.gmail.com> Date: Sat, 5 Aug 2006 17:27:08 +0800 From: S.P.T.Krishnan Subject: Re: [Qemu-devel] Qemu + wireless In-Reply-To: <2714910.1154702901760.JavaMail.root@eastrmwml04.mgt.cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2714910.1154702901760.JavaMail.root@eastrmwml04.mgt.cox.net> 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 Hi Ben, Thanks for your insightful reply. Allow me to re-phrase my question. Hope you can comment further. Basically, we have a need to run a application that needs a wifi interface in a virtual machine. You can think of the application as this command "iwlist eth1 scan". What this does is that it scans the airspace and lists all the networks(essid) it detects. Now if I want to run this command in a VM, the VM should see a wifi interface. This is my query. The virtual wifi interface must support the upward/downward movement of layer2 wifi frames. Can we have a wifi interface in a VM that can support queries like the above ? There is a physical wifi device at the host. I am thinking that just as Qemu links the virtual device to the actual nic card in the host, can it links the virtual wifi device to the actual wifi device ? (assuming the new functionaly is developed) regards, Krishnan On 8/4/06, Ben Taylor wrote: > > ---- "S.P.T.Krishnan" wrote: > > Hi, > > > > This is my first post to this list. > > Welcome. > > > I have been using qemu for the last several versions. Works great, in > > fact I just booted off a Vista beta 2 yesterday from a linux host. > > > > My query is whether Qemu either now or in the near future will support > > wireless interface ? > > In what sense? I have used qemu with -net user with my hosts' wifi interface. > However, due to the nature of how wifi works, I think it would be impossible > to setup a bridge (like you can do with a wired lan) and use the tap interface > to provide full access to a qemu guest. One reason is one-to-one mapping between > a wifi interface and it's AP. > > > Example: Qemu_VM could be configured to use wireless (in a different > > subnet) while the host be on wired interface. > > I suspect that using a tap interface, and some ipfilt rules, you might be able > to make this work. Assuming that the host doesn't have anything to do with > that interface, you could write the ipfilt rules to push all the packets to the > tap interface with a rewrite rule. However, I can't give you much help beyond > that. I don't do ipfilt these days. > > HTH > > Ben > > > > regards, > > Krishnan > > > > > > _______________________________________________ > > Qemu-devel mailing list > > Qemu-devel@nongnu.org > > http://lists.nongnu.org/mailman/listinfo/qemu-devel > >