summaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel@redhat.com>2017-01-25 10:44:46 +0200
committerMichael S. Tsirkin <mst@redhat.com>2017-02-01 03:37:18 +0200
commitdc0ae767700c156894e36fab89a745a2dc4173de (patch)
tree23bd5fbc9e0d222cf1ede782de4118d3d6c5f623 /include/hw
parente0b283e7c5b020c3e54629d8b82117db0af21cca (diff)
downloadqemu-dc0ae767700c156894e36fab89a745a2dc4173de.tar.gz
hw/pci: disable pci-bridge's shpc by default
The shpc component is optional while ACPI hotplug is used for hot-plugging PCI devices into a PCI-PCI bridge. Disabling the shpc by default will make slot 0 usable at boot time and not only for hot-plug, without loosing any functionality. Older machines will have shpc enabled for compatibility reasons. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@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 ee0dd1b5df..b7db43803c 100644
--- a/include/hw/compat.h
+++ b/include/hw/compat.h
@@ -14,6 +14,10 @@
.driver = "pflash_cfi01",\
.property = "old-multiple-chip-handling",\
.value = "on",\
+ },{\
+ .driver = "pci-bridge",\
+ .property = "shpc",\
+ .value = "on",\
},
#define HW_COMPAT_2_7 \