hw/pci: disable pci-bridge's shpc by default
commitdc0ae767700c156894e36fab89a745a2dc4173de
authorMarcel Apfelbaum <marcel@redhat.com>
Wed, 25 Jan 2017 08:44:46 +0000 (25 10:44 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 1 Feb 2017 01:37:18 +0000 (1 03:37 +0200)
tree23bd5fbc9e0d222cf1ede782de4118d3d6c5f623
parente0b283e7c5b020c3e54629d8b82117db0af21cca
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>
hw/pci-bridge/pci_bridge_dev.c
include/hw/compat.h