summaryrefslogtreecommitdiffstats
path: root/hw/i386
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2015-02-20 18:22:07 +0000
committerMichael S. Tsirkin <mst@redhat.com>2015-03-01 12:33:21 +0100
commitc2d9c595ade376ad4c94c8c2cab23fd6f50805f7 (patch)
tree93040a272a3a41b9d2d60f63039421cf9403a617 /hw/i386
parent8bec1a0a78203d2555b7446efa7ebe5d2601f79a (diff)
downloadhqemu-c2d9c595ade376ad4c94c8c2cab23fd6f50805f7.zip
hqemu-c2d9c595ade376ad4c94c8c2cab23fd6f50805f7.tar.gz
pc: acpi: drop manual hole punching for CPU hotplug resources
Drops manual hole punching in PCI0._CRS on PIIX4 machine type for CPU hotplug resources. Resources will be consumed by Device(PRES) that is attached to PCI bus. The same way how it currently works for mem hotlpug. 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/i386')
-rw-r--r--hw/i386/acpi-build.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index 02e2597..0de261a 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -885,11 +885,7 @@ build_ssdt(GArray *table_data, GArray *linker,
aml_append(crs,
aml_word_io(aml_min_fixed, aml_max_fixed,
aml_pos_decode, aml_entire_range,
- 0x0000, 0x0D00, 0xAEFF, 0x0000, 0xA200));
- aml_append(crs,
- aml_word_io(aml_min_fixed, aml_max_fixed,
- aml_pos_decode, aml_entire_range,
- 0x0000, 0xAF20, 0xAFDF, 0x0000, 0x00C0));
+ 0x0000, 0x0D00, 0xAFDF, 0x0000, 0xA2E0));
aml_append(crs,
aml_word_io(aml_min_fixed, aml_max_fixed,
aml_pos_decode, aml_entire_range,
OpenPOWER on IntegriCloud