Skip to contentSkip to conversation

-net nic,model=? not working

Qemu-devel Andreas Färber 3 participants 5 messages Aug 12, 2008 – Aug 13, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

According to the HTML documentation, "-net nic,model=?" is supposed to display a list of available devices for the target. qemu -net nic,model=? however shows only the standard usage message. Anyone any insights why? Is the documentation wrong? The usage message itself does not explicitly mention '?' for that option.

Andreas

#1 lore raw
Quoted 5 lines · Andreas Färber

According to the HTML documentation, "-net nic,model=?" is supposed to display a list of available devices for the target. qemu -net nic,model=? however shows only the standard usage message. Anyone any insights why? Is the documentation wrong? The usage message itself does not explicitly mention '?' for that option.

The documentation is unclear. You need to give other, valid options for starting QEMU. The simplest is to give the name of a disk image file as an argument.

Then it outputs the message about NIC models and exits - after starting then closing some devices.

-- Jamie

#2 lore raw
Quoted 6 lines

The documentation is unclear. You need to give other, valid options for starting QEMU. The simplest is to give the name of a disk image file as an argument.

Then it outputs the message about NIC models and exits - after starting then closing some devices.

Which of the drivers is the most efficient?

qemu: Supported ISA NICs: ne2k_isa
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139

ne2k_pci seems to be the default one

Seems like it doesn't work with KVM though, I use virtio with these machines anyways.

#3 lore raw
Quoted 4 lines · [email protected] wrote:

Which of the drivers is the most efficient?

qemu: Supported ISA NICs: ne2k_isa
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139

It depends which guest you are running, that's why there are choices. Some guests don't support some NICs, some guests don't support others.

Quoted 4 lines

ne2k_pci seems to be the default one

Seems like it doesn't work with KVM though, I use virtio with these machines anyways.

KVM returns a different list than the above one.

-- Jamie

#4 lore raw
Quoted 5 lines
Quoted 2 lines

qemu: Supported ISA NICs: ne2k_isa
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139

It depends which guest you are running, that's why there are choices. Some guests don't support some NICs, some guests don't support others.

What would it be with a 32 bit Linux setup?
Fairly recent kernel