mirror of https://github.com/xqemu/xqemu.git
vmxnet3: add boot rom
Disable for old machine types as this is a guest visible change. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
1676103dc2
commit
43716de6b3
|
@ -2700,6 +2700,7 @@ static void vmxnet3_class_init(ObjectClass *class, void *data)
|
||||||
c->vendor_id = PCI_VENDOR_ID_VMWARE;
|
c->vendor_id = PCI_VENDOR_ID_VMWARE;
|
||||||
c->device_id = PCI_DEVICE_ID_VMWARE_VMXNET3;
|
c->device_id = PCI_DEVICE_ID_VMWARE_VMXNET3;
|
||||||
c->revision = PCI_DEVICE_ID_VMWARE_VMXNET3_REVISION;
|
c->revision = PCI_DEVICE_ID_VMWARE_VMXNET3_REVISION;
|
||||||
|
c->romfile = "efi-vmxnet3.rom";
|
||||||
c->class_id = PCI_CLASS_NETWORK_ETHERNET;
|
c->class_id = PCI_CLASS_NETWORK_ETHERNET;
|
||||||
c->subsystem_vendor_id = PCI_VENDOR_ID_VMWARE;
|
c->subsystem_vendor_id = PCI_VENDOR_ID_VMWARE;
|
||||||
c->subsystem_id = PCI_DEVICE_ID_VMWARE_VMXNET3;
|
c->subsystem_id = PCI_DEVICE_ID_VMWARE_VMXNET3;
|
||||||
|
|
|
@ -362,6 +362,10 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *);
|
||||||
.driver = TYPE_X86_CPU,\
|
.driver = TYPE_X86_CPU,\
|
||||||
.property = "cpuid-0xb",\
|
.property = "cpuid-0xb",\
|
||||||
.value = "off",\
|
.value = "off",\
|
||||||
|
},{\
|
||||||
|
.driver = "vmxnet3",\
|
||||||
|
.property = "romfile",\
|
||||||
|
.value = "",\
|
||||||
},
|
},
|
||||||
|
|
||||||
#define PC_COMPAT_2_5 \
|
#define PC_COMPAT_2_5 \
|
||||||
|
|
Loading…
Reference in New Issue