From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLjqA-0007g8-Vx for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:54:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLjq6-0007W9-4h for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:54:22 -0500 Received: from [199.232.76.173] (port=52830 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLjq5-0007Vk-Vw for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:54:18 -0500 Received: from mail-yw0-f171.google.com ([209.85.211.171]:39061) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLjq4-0007fr-UE for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:54:17 -0500 Received: by ywh1 with SMTP id 1so3303142ywh.18 for ; Fri, 18 Dec 2009 12:54:15 -0800 (PST) Message-ID: <4B2BEBF4.6070202@codemonkey.ws> Date: Fri, 18 Dec 2009 14:54:12 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] ne2k_isa: how to specify a custom iobase and irq? References: <154639B97697400DB13CEC80171644F1@FSCPC> <4B2B3F52.4020407@redhat.com> <90808A6C76FB43D7ACAAF92D940271C5@FSCPC> In-Reply-To: <90808A6C76FB43D7ACAAF92D940271C5@FSCPC> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sebastian Herbszt Cc: qemu-devel@nongnu.org, Gerd Hoffmann , Markus Armbruster Sebastian Herbszt wrote: > Gerd Hoffmann wrote: >> On 12/18/09 07:12, Markus Armbruster wrote: >>> "Sebastian Herbszt" writes: >>> >>>> The default iobase and irq for the ne2k_isa card are 0x300 and 9. >>>> It should be possible to override both using the "-net" syntax like >>>> "-net nic,model=ne2k_isa,irq=5,iobase=0x280". >>> >>> -device ne2k_isa,irq=5,iobase=0x280 >> >> Also needs vlan=0, otherwise you'll end up with an unconnected nic. > > Shouldn't vlan have a default value of 0 like it does with the "-net" > syntax? No, you don't actually have to tie it to a vlan. Regards, Anthony Liguori