From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: Jason Wang <jasowang@redhat.com>, Thomas Huth <thuth@redhat.com>
Subject: [Qemu-devel] [PATCH v2 0/3] change q35 default NIC to e1000e
Date: Tue, 6 Mar 2018 20:45:57 +0100 [thread overview]
Message-ID: <20180306194600.9650-1-pbonzini@redhat.com> (raw)
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
next reply other threads:[~2018-03-06 19:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 19:45 Paolo Bonzini [this message]
2018-03-06 19:45 ` [Qemu-devel] [PATCH 1/3] qom: introduce object_class_get_list_sorted Paolo Bonzini
2018-03-07 14:31 ` Thomas Huth
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 19:46 ` [Qemu-devel] [PATCH 3/3] q35: change default NIC to e1000e Paolo Bonzini
2018-03-08 10:38 ` Thomas Huth
2018-03-08 10:48 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180306194600.9650-1-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=jasowang@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).