From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLjsA-0001kh-0n for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:56:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLjs5-0001eR-RT for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:56:25 -0500 Received: from [199.232.76.173] (port=32817 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLjs5-0001e9-Jt for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:56:21 -0500 Received: from mail-yw0-f171.google.com ([209.85.211.171]:48090) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLjs4-0007sD-PN for qemu-devel@nongnu.org; Fri, 18 Dec 2009 15:56:21 -0500 Received: by ywh1 with SMTP id 1so3304846ywh.18 for ; Fri, 18 Dec 2009 12:56:20 -0800 (PST) Message-ID: <4B2BEC71.80706@codemonkey.ws> Date: Fri, 18 Dec 2009 14:56:17 -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> In-Reply-To: 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: Markus Armbruster , qemu-devel@nongnu.org Sebastian Herbszt wrote: > 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 > > Shouldn't this also be possible with the "-net" syntax? It does accept > "addr" > which is pci specific. addr= is a hack. It predates qdev-ification. -device is now the preferred way to do this sort of thing. Regards, Anthony Liguori