qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] add -net nic,model=? to list available models


From: Mark Glines
Subject: [Qemu-devel] [PATCH] add -net nic,model=? to list available models
Date: Sun, 20 May 2007 07:54:59 -0700

Hi,

What do you think about this feature?  The manpage just says "Not all
devices are supported on all targets", but this allows the user to get
some more specifics.

The output looks like this:

$ i386-softmmu/qemu -hda /dev/null -net nic,model=?
qemu: Supported ISA NICs: ne2k_isa
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139


I tested the various platforms with the following script:

$ for EXE in */qemu-system-*; do $EXE -M ? | grep -v ^Supported | awk '{print 
$1}' | sort | while read MACHINE; do echo EXE `basename $EXE` MACHINE $MACHINE; 
$EXE -M $MACHINE -hda /dev/null -net nic,model=? 2>&1 | grep -i 'supported ' | 
grep -i nic; done; done
EXE qemu-system-arm MACHINE akita
EXE qemu-system-arm MACHINE borzoi
EXE qemu-system-arm MACHINE integratorcp
qemu: Supported NICs: smc91c111
EXE qemu-system-arm MACHINE realview
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139
EXE qemu-system-arm MACHINE spitz
EXE qemu-system-arm MACHINE terrier
EXE qemu-system-arm MACHINE versatileab
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139
EXE qemu-system-arm MACHINE versatilepb
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139
EXE qemu-system-mips64el MACHINE malta
EXE qemu-system-mips64el MACHINE mips
qemu: Supported NICs: ne2k_isa
EXE qemu-system-mips64el MACHINE pica61
EXE qemu-system-mips64 MACHINE malta
EXE qemu-system-mips64 MACHINE mips
qemu: Supported NICs: ne2k_isa
EXE qemu-system-mips64 MACHINE pica61
EXE qemu-system-mipsel MACHINE malta
EXE qemu-system-mipsel MACHINE mips
qemu: Supported NICs: ne2k_isa
EXE qemu-system-mipsel MACHINE pica61
EXE qemu-system-mips MACHINE malta
EXE qemu-system-mips MACHINE mips
qemu: Supported NICs: ne2k_isa
EXE qemu-system-mips MACHINE pica61
EXE qemu-system-ppc64 MACHINE g3bw
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139
EXE qemu-system-ppc64 MACHINE mac99
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139
EXE qemu-system-ppc64 MACHINE prep
qemu: Supported NICs: ne2k_isa
EXE qemu-system-ppc64 MACHINE ref405ep
EXE qemu-system-ppc64 MACHINE taihu
EXE qemu-system-ppcemb MACHINE g3bw
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139
EXE qemu-system-ppcemb MACHINE mac99
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139
EXE qemu-system-ppcemb MACHINE prep
qemu: Supported NICs: ne2k_isa
EXE qemu-system-ppcemb MACHINE ref405ep
EXE qemu-system-ppcemb MACHINE taihu
EXE qemu-system-ppc MACHINE g3bw
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139
EXE qemu-system-ppc MACHINE mac99
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139
EXE qemu-system-ppc MACHINE prep
qemu: Supported NICs: ne2k_isa
EXE qemu-system-ppc MACHINE ref405ep
EXE qemu-system-ppc MACHINE taihu
EXE qemu-system-sparc MACHINE SS-10
qemu: Supported NICs: lance
EXE qemu-system-sparc MACHINE SS-5
qemu: Supported NICs: lance
EXE qemu-system-x86_64 MACHINE isapc
qemu: Supported ISA NICs: ne2k_isa
EXE qemu-system-x86_64 MACHINE pc
qemu: Supported ISA NICs: ne2k_isa
qemu: Supported PCI NICs: i82551 i82557b i82559er ne2k_pci pcnet rtl8139

Mark

Attachment: add_net_nic_model_question.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]