mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
vmxnet3: Introduce 'x-disable-pcie' back-compat property
Following the previous patch which changed vmxnet3 to be a pci express device, this patch introduces a boolean property 'x-disable-pcie' whose default is false. Setting 'x-disable-pcie' to 'on' preserves the old 'pci device' (non express) behavior. This allows migration to older versions. Signed-off-by: Shmulik Ladkani <shmulik.ladkani@ravellosystems.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
3509866ab3
commit
7d6d347d06
2 changed files with 6 additions and 0 deletions
|
|
@ -6,6 +6,10 @@
|
|||
.driver = "vmxnet3",\
|
||||
.property = "x-old-msi-offsets",\
|
||||
.value = "on",\
|
||||
},{\
|
||||
.driver = "vmxnet3",\
|
||||
.property = "x-disable-pcie",\
|
||||
.value = "on",\
|
||||
},
|
||||
|
||||
#define HW_COMPAT_2_4 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue