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.
Maybe because of hw/pc.c:
if (!pci_enabled || (nd->model && strcmp(nd->model, "ne2k_isa") == 0))
pc_init_ne2k_isa(nd);
else
pci_nic_init_nofail(nd, "e1000", NULL);
- Sebastian