qemu/hw/acpi
Eduardo Habkost 39ee3af3a8 acpi: Assert sts array limit on AcpiCpuHotplug_add()
AcpiCpuHotplug_add() can't handle vCPU arch IDs larger than
ACPI_CPU_HOTPLUG_ID_LIMIT. Instead of corrupting memory in case the vCPU
ID is too large, use g_assert() to ensure we are not over the limit.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-03-18 16:08:43 +02:00
..
Makefile.objs acpi: factor out common cpu hotplug code for PIIX4/Q35 2014-01-26 13:11:44 +02:00
core.c acpi: factor out common pm_update_sci() into acpi core 2013-12-23 13:12:34 +02:00
cpu_hotplug.c acpi: Assert sts array limit on AcpiCpuHotplug_add() 2014-03-18 16:08:43 +02:00
ich9.c acpi: ich9: add CPU hotplug handling to Q35 machine 2014-01-26 13:11:44 +02:00
pcihp.c acpi/piix4pm: convert ACPI PCI hotplug to use hotplug-handler API 2014-02-10 10:27:00 +02:00
piix4.c QOM infrastructure fixes and device conversions 2014-02-20 13:05:48 +00:00