diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-06-24 14:11:31 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-06-24 14:11:36 +0200 |
commit | 43716de6b3b24f949f8b95a0ae9e2e263dd4f1f0 (patch) | |
tree | 4be3e4e73b623b0b5eef2ad0c19018512caed332 | |
parent | 1676103dc25e8b7d5bbd2ee7ae0bab08a02c1c88 (diff) | |
download | qemu-43716de6b3b24f949f8b95a0ae9e2e263dd4f1f0.zip qemu-43716de6b3b24f949f8b95a0ae9e2e263dd4f1f0.tar.gz qemu-43716de6b3b24f949f8b95a0ae9e2e263dd4f1f0.tar.bz2 |
vmxnet3: add boot rom
Disable for old machine types as this is a guest visible change.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | hw/net/vmxnet3.c | 1 | ||||
-rw-r--r-- | include/hw/i386/pc.h | 4 |
2 files changed, 5 insertions, 0 deletions
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 \ |