summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorShmulik Ladkani2015-12-13 09:08:32 +0100
committerPaolo Bonzini2015-12-17 15:24:34 +0100
commitd5da3ef2e24c29ddb92e11a54d705873acb905bf (patch)
tree4cc03b5a8fd2bad35b309aaa639947989eecb728 /include/hw
parentvmw_pvscsi: The pvscsi device is a PCIE endpoint (diff)
downloadqemu-d5da3ef2e24c29ddb92e11a54d705873acb905bf.tar.gz
qemu-d5da3ef2e24c29ddb92e11a54d705873acb905bf.tar.xz
qemu-d5da3ef2e24c29ddb92e11a54d705873acb905bf.zip
vmw_pvscsi: Introduce 'x-disable-pcie' backword compatability property
Following the previous patch which changed pvscsi to be a pci express device, this patch introduces a boolean property 'x-disable-pcie'. Its default value is false, exposing pvscsi as a pcie device. 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> Message-Id: <1449994112-7054-7-git-send-email-shmulik.ladkani@ravellosystems.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h
index 66e4affa98..bcb36ef836 100644
--- a/include/hw/compat.h
+++ b/include/hw/compat.h
@@ -11,6 +11,10 @@
.property = "x-old-pci-configuration",\
.value = "on",\
},{\
+ .driver = "pvscsi",\
+ .property = "x-disable-pcie",\
+ .value = "on",\
+ },{\
.driver = "e1000",\
.property = "extra_mac_registers",\
.value = "off",\