Received: from [140.186.70.92] (port=42458 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMZ1e-0002A9-Ts for qemu-devel@nongnu.org; Thu, 10 Jun 2010 00:05:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMZ1d-0003mC-Dg for qemu-devel@nongnu.org; Thu, 10 Jun 2010 00:05:54 -0400 Received: from adelie.canonical.com ([91.189.90.139]:35427) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMZ1d-0003m4-7w for qemu-devel@nongnu.org; Thu, 10 Jun 2010 00:05:53 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OMZ1a-000311-Tk for ; Thu, 10 Jun 2010 05:05:51 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 878D92E8367 for ; Thu, 10 Jun 2010 05:05:37 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 10 Jun 2010 03:59:51 -0000 From: JP Senior Sender: bounces@canonical.com References: <20100604184053.4709.16201.malonedeb@soybean.canonical.com> Message-Id: <20100610035951.9142.70876.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 589827] Re: QEMU netdev tap type id name is not used on linux host Reply-To: Bug 589827 <589827@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Thanks to IRC, the correct syntax is: -netdev tap,id=3Dasa1_eth0_tap,ifname=3Dasa1_eth0_tap -device e1000,netdev=3Dasa1_eth0_tap,mac=3D00:aa:cd:dd:01:01 (noted, fd=3Dh option doesn't work on -netdev) -- = QEMU netdev tap type id name is not used on linux host https://bugs.launchpad.net/bugs/589827 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: Tested with 0.12.3, 0.12.4, and latest git as of 4 jun 2010. The new -netdev type seems to ignore manual specifications of tap ifname. qemu-system-x86_64 -hda disk.img -netdev tap,id=3Dids_e0 -device e1000,= netdev=3Dids_e0 **creates tap0 instead of ids_e0. tap0 passes traffic, ids_e0 doesn't exi= st (I tried -netdev type=3Dtap as well for brevity) QEMU creates a tap0 (or appropriate) interface and does not name this "ids_= e0" as would be expected. I also tried 'pre' creating the tap interface. Previous alterantive was qemu-system-x86_64 -hda disk.img -net nic,model=3De1000,vlan=3D99 -net = tap,ifname=3Dids_e0,vlan=3D99 = **creates ids_e0 as expected, and passes traffic as expected.