From: Igor Mammedov Date: Fri, 20 Feb 2015 18:22:07 +0000 (+0000) Subject: pc: acpi: drop manual hole punching for CPU hotplug resources X-Git-Tag: qemu-xen-4.7.0-rc1~432^2~25 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c2d9c595ade376ad4c94c8c2cab23fd6f50805f7;p=qemu-xen.git 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 Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 02e2597cd6..0de261a536 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,