All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/3] change q35 default NIC to e1000e
@ 2018-03-08 17:28 Paolo Bonzini
  2018-03-08 17:28 ` [Qemu-devel] [PATCH 1/3] qom: introduce object_class_get_list_sorted Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Paolo Bonzini @ 2018-03-08 17:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jason Wang, Thomas Huth

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [Qemu-devel] [PATCH v2 0/3] change q35 default NIC to e1000e
@ 2018-03-06 19:45 Paolo Bonzini
  2018-03-06 19:45 ` [Qemu-devel] [PATCH 2/3] net: allow using any PCI NICs in -net or -nic Paolo Bonzini
  0 siblings, 1 reply; 16+ messages in thread
From: Paolo Bonzini @ 2018-03-06 19:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jason Wang, Thomas Huth

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 compilation

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [Qemu-devel] [PATCH 0/3] change q35 default NIC to e1000e
@ 2018-03-06 16:49 Paolo Bonzini
  2018-03-06 16:49 ` [Qemu-devel] [PATCH 2/3] net: allow using any PCI NICs in -net or -nic Paolo Bonzini
  0 siblings, 1 reply; 16+ messages in thread
From: Paolo Bonzini @ 2018-03-06 16:49 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jason Wang, Thomas Huth

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-03-09  7:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-08 17:28 [Qemu-devel] [PATCH v3 0/3] change q35 default NIC to e1000e Paolo Bonzini
2018-03-08 17:28 ` [Qemu-devel] [PATCH 1/3] qom: introduce object_class_get_list_sorted Paolo Bonzini
2018-03-08 18:22   ` Philippe Mathieu-Daudé
2018-03-08 18:53   ` Thomas Huth
2018-03-08 17:28 ` [Qemu-devel] [PATCH 2/3] net: allow using any PCI NICs in -net or -nic Paolo Bonzini
2018-03-08 18:53   ` Philippe Mathieu-Daudé
2018-03-08 18:59   ` Thomas Huth
2018-03-09  7:09   ` Jason Wang
2018-03-08 17:28 ` [Qemu-devel] [PATCH 3/3] q35: change default NIC to e1000e Paolo Bonzini
2018-03-08 18:13   ` Thomas Huth
2018-03-09  7:10   ` Jason Wang
  -- strict thread matches above, loose matches on Subject: below --
2018-03-06 19:45 [Qemu-devel] [PATCH v2 0/3] change q35 " Paolo Bonzini
2018-03-06 19:45 ` [Qemu-devel] [PATCH 2/3] net: allow using any PCI NICs in -net or -nic Paolo Bonzini
2018-03-08  9:02   ` Thomas Huth
2018-03-08 10:44     ` Paolo Bonzini
2018-03-06 16:49 [Qemu-devel] [PATCH 0/3] change q35 default NIC to e1000e Paolo Bonzini
2018-03-06 16:49 ` [Qemu-devel] [PATCH 2/3] net: allow using any PCI NICs in -net or -nic Paolo Bonzini
2018-03-06 23:14   ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.