The Intel 82574 NIC has better performance and more features than the aging e1000 (aka 82540), for example MSI-X. This patch chooses it by default for the Q35 machine type. As suggested by Thomas, instead of special casing e1000e, all PCI NIC device names become valid models for "-net nic,model=..." or "-nic model=..." (patches 1-2).
Paolo Paolo Bonzini (3): qom: introduce object_class_get_list_sorted net: allow using any PCI NICs in -net or -nic q35: change default NIC to e1000e hw/i386/pc.c | 7 +++--- hw/i386/pc_piix.c | 6 ++++- hw/i386/pc_q35.c | 8 ++++++- hw/pci/pci.c | 61 ++++++++++++++++++++++++------------------------- include/hw/i386/pc.h | 3 ++- include/qom/object.h | 10 ++++++++ qdev-monitor.c | 9 +------- qom/object.c | 14 ++++++++++++ target/alpha/cpu.c | 15 +----------- target/hppa/cpu.c | 14 +----------- target/lm32/cpu.c | 15 +----------- target/sh4/cpu.c | 15 +----------- target/tricore/helper.c | 2 +- 13 files changed, 78 insertions(+), 101 deletions(-) -- 2.14.3