diff options
author | Igor Mammedov <imammedo@redhat.com> | 2015-02-18 19:14:49 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-02-26 13:04:18 +0100 |
commit | 78c2d8722b9118509e3d4ed8bae67c3e4eaa443e (patch) | |
tree | 9946d1569de5eb7e372bc8f585b99257d7a8e328 /hw/acpi/piix4.c | |
parent | 6ece7053d6a4a502d2ea5d24ecf512caaa1437c7 (diff) | |
download | qemu-78c2d8722b9118509e3d4ed8bae67c3e4eaa443e.tar.gz qemu-78c2d8722b9118509e3d4ed8bae67c3e4eaa443e.tar.bz2 qemu-78c2d8722b9118509e3d4ed8bae67c3e4eaa443e.zip |
pc: pcihp: expose MMIO base and len as properties
it will be used later to dynamically reserve MMIO region
instead of manually punching holes in PCI0._CRS
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 'hw/acpi/piix4.c')
-rw-r--r-- | hw/acpi/piix4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c index 766f1b8552..d1f11793a0 100644 --- a/hw/acpi/piix4.c +++ b/hw/acpi/piix4.c @@ -562,7 +562,7 @@ static void piix4_acpi_system_hot_add_init(MemoryRegion *parent, "acpi-gpe0", GPE_LEN); memory_region_add_subregion(parent, GPE_BASE, &s->io_gpe); - acpi_pcihp_init(&s->acpi_pci_hotplug, bus, parent, + acpi_pcihp_init(OBJECT(s), &s->acpi_pci_hotplug, bus, parent, s->use_acpi_pci_hotplug); acpi_cpu_hotplug_init(parent, OBJECT(s), &s->gpe_cpu, |