summaryrefslogtreecommitdiffstats
path: root/include/hw/acpi
diff options
context:
space:
mode:
authorIgor Mammedov2014-02-03 11:45:01 +0100
committerMichael S. Tsirkin2014-02-05 15:55:50 +0100
commite358edc8e90d580443b824e4ef799e137377ad86 (patch)
tree6b82a444aef95b4436171791d36cdc4df4b22282 /include/hw/acpi
parentpcihp: remove unused AcpiPciHpPciStatus.device_present field (diff)
downloadqemu-e358edc8e90d580443b824e4ef799e137377ad86.tar.gz
qemu-e358edc8e90d580443b824e4ef799e137377ad86.tar.xz
qemu-e358edc8e90d580443b824e4ef799e137377ad86.zip
hw:piix4:acpi: reuse pcihp code for legacy PCI hotplug
reduces acpi PCI hotplug code duplication by ~200LOC Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/acpi')
-rw-r--r--include/hw/acpi/pcihp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/pcihp.h b/include/hw/acpi/pcihp.h
index 1fd90e1609..0a90e4a968 100644
--- a/include/hw/acpi/pcihp.h
+++ b/include/hw/acpi/pcihp.h
@@ -39,6 +39,7 @@ typedef struct AcpiPciHpPciStatus {
#define ACPI_PCIHP_PROP_BSEL "acpi-pcihp-bsel"
#define ACPI_PCIHP_MAX_HOTPLUG_BUS 256
+#define ACPI_PCIHP_BSEL_DEFAULT 0x0
typedef struct AcpiPciHpState {
AcpiPciHpPciStatus acpi_pcihp_pci_status[ACPI_PCIHP_MAX_HOTPLUG_BUS];