]> Git Repo - qemu.git/commitdiff
vmxnet3: add boot rom
authorGerd Hoffmann <[email protected]>
Fri, 24 Jun 2016 12:11:31 +0000 (14:11 +0200)
committerGerd Hoffmann <[email protected]>
Fri, 24 Jun 2016 12:11:36 +0000 (14:11 +0200)
Disable for old machine types as this is a guest visible change.

Signed-off-by: Gerd Hoffmann <[email protected]>
hw/net/vmxnet3.c
include/hw/i386/pc.h

index d97897670d9e257b448ea55256a52823bf2db240..25cee9ff4b01fb0834ef3594cd52e41d3a7b3005 100644 (file)
@@ -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;
index 49566c89d42820d060e98e436a8ca03b9519e5aa..a112efb95f5f5f9912d4c7d9272974bad66164ba 100644 (file)
@@ -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 \
This page took 0.030698 seconds and 4 git commands to generate.