Tested with RHEL6 & WS2012R2 git tree for testing: https://github.com/imammedo/qemu/commits/q35_cpu_hp_v1
Igor Mammedov (11): acpi: piix4: remove not needed GPE0 mask acpi: factor out common pm_update_sci() into acpi core acpi: factor out common cpu hotplug code for PIIX4/Q35 acpi/piix4: add readonly "cpu-hotplug-io-base" property acpi: ich9: allow guest to clear SCI rised by GPE acpi/ich9: add CPU hotplug handling to Q35 machine ACPI: Q35 DSDT: fix CPU hotplug GPE0.2 handler ACPI/DSDT-CPU: cleanup bogus comment ACPI: move PRST OperationRegion into SSDT ACPI: set CPU hotplug io base dynamically ACPI: update ssdt-misc.hex.generated acpi-dsdt.hex.generated q35-acpi-dsdt.hex.generated hw/acpi/Makefile.objs | 2 +- hw/acpi/core.c | 18 +++ hw/acpi/hotplug.c | 65 +++++++++ hw/acpi/ich9.c | 49 ++++--- hw/acpi/piix4.c | 114 +++------------- hw/i386/acpi-build.c | 6 + hw/i386/acpi-dsdt-cpu-hotplug.dsl | 40 +----- hw/i386/acpi-dsdt.dsl | 2 +- hw/i386/acpi-dsdt.hex.generated | 152 ++------------------- hw/i386/q35-acpi-dsdt.dsl | 6 +- hw/i386/q35-acpi-dsdt.hex.generated | 168 +++-------------------- hw/i386/ssdt-misc.dsl | 66 +++++++++ hw/i386/ssdt-misc.hex.generated | 262 +++++++++++++++++++++++++++++++++++- include/hw/acpi/acpi.h | 8 ++ include/hw/acpi/hotplug.h | 32 +++++ include/hw/acpi/ich9.h | 4 + 16 files changed, 545 insertions(+), 449 deletions(-) create mode 100644 hw/acpi/hotplug.c create mode 100644 include/hw/acpi/hotplug.h -- 1.8.3.1