Add qemu 2.4.0
[kvmfornfv.git] / qemu / docs / specs / acpi_cpu_hotplug.txt
1 QEMU<->ACPI BIOS CPU hotplug interface
2 --------------------------------------
3
4 QEMU supports CPU hotplug via ACPI. This document
5 describes the interface between QEMU and the ACPI BIOS.
6
7 ACPI GPE block (IO ports 0xafe0-0xafe3, byte access):
8 -----------------------------------------
9
10 Generic ACPI GPE block. Bit 2 (GPE.2) used to notify CPU
11 hot-add/remove event to ACPI BIOS, via SCI interrupt.
12
13 CPU present bitmap for:
14   ICH9-LPC (IO port 0x0cd8-0xcf7, 1-byte access)
15   PIIX-PM  (IO port 0xaf00-0xaf1f, 1-byte access)
16 ---------------------------------------------------------------
17 One bit per CPU. Bit position reflects corresponding CPU APIC ID.
18 Read-only.
19
20 CPU hot-add/remove notification:
21 -----------------------------------------------------
22 QEMU sets/clears corresponding CPU bit on hot-add/remove event.
23 CPU present map read by ACPI BIOS GPE.2 handler to notify OS of CPU
24 hot-(un)plug events.