[Qemu-devel] [PATCH v3 0/3] change q35 default NIC to e1000e

Paolo Bonzini posted 3 patches 6 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180308172834.3281-1-pbonzini@redhat.com
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppcbe passed
Test ppcle passed
Test s390x passed
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    | 11 +++++++++
qdev-monitor.c          |  9 +-------
qom/object.c            | 13 +++++++++++
target/alpha/cpu.c      | 15 +-----------
target/hppa/cpu.c       | 15 +-----------
target/lm32/cpu.c       | 15 +-----------
target/sh4/cpu.c        | 15 +-----------
target/tricore/helper.c |  2 +-
13 files changed, 78 insertions(+), 102 deletions(-)
[Qemu-devel] [PATCH v3 0/3] change q35 default NIC to e1000e
Posted by Paolo Bonzini 6 years, 1 month ago
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

v1->v2: fix hppa compilation

v2->v3: fix GPtrArray usage [Thomas]

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    | 11 +++++++++
 qdev-monitor.c          |  9 +-------
 qom/object.c            | 13 +++++++++++
 target/alpha/cpu.c      | 15 +-----------
 target/hppa/cpu.c       | 15 +-----------
 target/lm32/cpu.c       | 15 +-----------
 target/sh4/cpu.c        | 15 +-----------
 target/tricore/helper.c |  2 +-
 13 files changed, 78 insertions(+), 102 deletions(-)

-- 
2.14.3