From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJxPH-0004Ie-SM for qemu-devel@nongnu.org; Mon, 04 Jul 2016 02:31:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJxPE-0000GR-CV for qemu-devel@nongnu.org; Mon, 04 Jul 2016 02:30:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJxPE-0000GC-6g for qemu-devel@nongnu.org; Mon, 04 Jul 2016 02:30:56 -0400 From: Gerd Hoffmann Date: Mon, 4 Jul 2016 08:30:46 +0200 Message-Id: <1467613849-12476-6-git-send-email-kraxel@redhat.com> In-Reply-To: <1467613849-12476-1-git-send-email-kraxel@redhat.com> References: <1467613849-12476-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 5/8] vmxnet3: add boot rom List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Dmitry Fleytman , Jason Wang , "Michael S. Tsirkin" Disable for old machine types as this is a guest visible change. Signed-off-by: Gerd Hoffmann --- hw/net/vmxnet3.c | 1 + include/hw/i386/pc.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c index d978976..25cee9f 100644 --- a/hw/net/vmxnet3.c +++ b/hw/net/vmxnet3.c @@ -2700,6 +2700,7 @@ static void vmxnet3_class_init(ObjectClass *class, void *data) c->vendor_id = PCI_VENDOR_ID_VMWARE; c->device_id = PCI_DEVICE_ID_VMWARE_VMXNET3; c->revision = PCI_DEVICE_ID_VMWARE_VMXNET3_REVISION; + c->romfile = "efi-vmxnet3.rom"; c->class_id = PCI_CLASS_NETWORK_ETHERNET; c->subsystem_vendor_id = PCI_VENDOR_ID_VMWARE; c->subsystem_id = PCI_DEVICE_ID_VMWARE_VMXNET3; diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 49566c8..a112efb 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -362,6 +362,10 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *); .driver = TYPE_X86_CPU,\ .property = "cpuid-0xb",\ .value = "off",\ + },{\ + .driver = "vmxnet3",\ + .property = "romfile",\ + .value = "",\ }, #define PC_COMPAT_2_5 \ -- 1.8.3.1