"Sebastian Herbszt" <herb...@gmx.de> writes: > Anthony Liguori wrote: >> Sebastian Herbszt wrote: >>> Markus Armbruster wrote: >>>> "Sebastian Herbszt" <herb...@gmx.de> 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. [...]