]> xenbits.xensource.com Git - qemu-upstream-4.3-testing.git/commit
acpi_piix4: Add infrastructure to send CPU hot-plug GPE to guest
authorIgor Mammedov <imammedo@redhat.com>
Thu, 25 Apr 2013 14:05:25 +0000 (16:05 +0200)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 17 Jun 2013 11:29:49 +0000 (12:29 +0100)
commit385226be3a600c871a2cf306fca0e2788791293b
tree16a3446b1cbea18cacdab44b001d466a8ed03c0a
parent0170b3ce88cb87346afa369a89ce9b197389058b
acpi_piix4: Add infrastructure to send CPU hot-plug GPE to guest

* introduce processor status bitmask visible to guest at 0xaf00 addr,
  where ACPI asl code expects it
* set bit corresponding to APIC ID in processor status bitmask on
  receiving CPU hot-plug notification
* trigger CPU hot-plug SCI, to notify guest about CPU hot-plug event

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
(cherry picked from QEMU commit b8622725cf0196f672f272922b0941dc8ba1c408)

The function piix4_cpu_hotplug_req() has been modified to take an integer
instead of a CPU object.

There was a cpu_added_notifier in the original commit, this haven't
been back-ported, as it can't be used.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
docs/specs/acpi_cpu_hotplug.txt [new file with mode: 0644]
hw/acpi_piix4.c