From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etzLX-0000Vi-BK for qemu-devel@nongnu.org; Thu, 08 Mar 2018 12:28:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etzLW-0001QE-JX for qemu-devel@nongnu.org; Thu, 08 Mar 2018 12:28:51 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:54760 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1etzLW-0001Q5-Eg for qemu-devel@nongnu.org; Thu, 08 Mar 2018 12:28:50 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A8F9B4023BB3 for ; Thu, 8 Mar 2018 17:28:39 +0000 (UTC) From: Paolo Bonzini Date: Thu, 8 Mar 2018 18:28:31 +0100 Message-Id: <20180308172834.3281-1-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/3] change q35 default NIC to e1000e List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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