From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NMhXG-0006eF-Dd for qemu-devel@nongnu.org; Mon, 21 Dec 2009 07:38:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NMhXB-0006ap-QL for qemu-devel@nongnu.org; Mon, 21 Dec 2009 07:38:50 -0500 Received: from [199.232.76.173] (port=47914 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMhXB-0006ah-Ir for qemu-devel@nongnu.org; Mon, 21 Dec 2009 07:38:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1090) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NMhXA-0002nW-Uw for qemu-devel@nongnu.org; Mon, 21 Dec 2009 07:38:45 -0500 From: Markus Armbruster Subject: Re: [Qemu-devel] ne2k_isa: how to specify a custom iobase and irq? References: <154639B97697400DB13CEC80171644F1@FSCPC> <4B2BEC96.7040508@codemonkey.ws> <37C6733CEA434E0A96FA20ED780D28ED@FSCPC> Date: Mon, 21 Dec 2009 13:37:42 +0100 In-Reply-To: <37C6733CEA434E0A96FA20ED780D28ED@FSCPC> (Sebastian Herbszt's message of "Fri, 18 Dec 2009 22:16:34 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sebastian Herbszt Cc: qemu-devel@nongnu.org "Sebastian Herbszt" writes: > Anthony Liguori wrote: >> 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 >>> >>> If i specify "-net nic,model=pcnet" i end up only with a pcnet nic. With >>> the above syntax i get a e1000 and a ne2k_isa. It also loads the >>> e1000 rom. >> >> Can you supply the full command lines. I'm a little confused about >> what you're reporting. > > "qemu -device ne2k_isa,irq=10" and "info qtree" has e1000 and ne2k_isa. > "qemu -net nic,model=pcnet" and "info qtree" has only pcnet. Unlike -net nic, -device doesn't suppress the default NIC. Unfortunate. You can get rid of it with -nodefaults, but that also rids you of other default devices. [...]