summaryrefslogtreecommitdiffstats
path: root/include/hw/compat.h
diff options
context:
space:
mode:
authorLaszlo Ersek2017-03-20 18:05:56 +0100
committerMichael S. Tsirkin2017-03-22 17:27:35 +0100
commitf2a1ae45d8ec5ad494e66a9234499a2e0fbf4b40 (patch)
tree15ab734518a81d497a2f127bc18be884becb9cfb /include/hw/compat.h
parentvirtio: always use handle_aio_output if registered (diff)
downloadqemu-f2a1ae45d8ec5ad494e66a9234499a2e0fbf4b40.tar.gz
qemu-f2a1ae45d8ec5ad494e66a9234499a2e0fbf4b40.tar.xz
qemu-f2a1ae45d8ec5ad494e66a9234499a2e0fbf4b40.zip
hw/acpi/vmgenid: prevent device realization on pre-2.5 machine types
The WRITE_POINTER linker/loader command that underlies VMGENID depends on commit baf2d5bfbac0 ("fw-cfg: support writeable blobs", 2017-01-12), which in turn depends on fw_cfg DMA. DMA for fw_cfg is enabled in 2.5+ machine types only (see commit e6915b5f3a87, "fw_cfg: unbreak migration compatibility for 2.4 and earlier machines", 2016-02-18). Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Ben Warren <ben@skyportsystems.com> Cc: Igor Mammedov <imammedo@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Ben Warren <ben@skyportsystems.com <mailto:ben@skyportsystems.com>> Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'include/hw/compat.h')
-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 fc8c3e0600..5d5be91daf 100644
--- a/include/hw/compat.h
+++ b/include/hw/compat.h
@@ -131,6 +131,10 @@
.driver = "fw_cfg_io",\
.property = "dma_enabled",\
.value = "off",\
+ },{\
+ .driver = "vmgenid",\
+ .property = "x-write-pointer-available",\
+ .value = "off",\
},
#define HW_COMPAT_2_3 \