qemu/hw/i386
Tang Chen 232391c19e acpi, pc: Add unplug cb for pc machine.
Memory and CPU hot unplug are both asynchronous procedures.
When the unplug operation happens, unplug request cb is called first.
And when guest OS finished handling unplug, unplug cb will be called
to do the real removal of device.

This patch adds hotunplug cb to pc machine, which memory and CPU
hot unplug will use it.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-02-26 12:42:18 +01:00
..
kvm pci-assign: Convert to realize 2015-02-26 12:42:17 +01:00
xen hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
acpi-build.c acpi: drop min-bytes in build_package() 2015-02-26 12:42:15 +01:00
acpi-build.h i386: ACPI table generation code from seabios 2013-10-14 17:48:57 +03:00
acpi-defs.h intel-iommu: add DMAR table to ACPI tables 2014-08-28 23:10:22 +02:00
acpi-dsdt-cpu-hotplug.dsl pc: acpi: fix WindowsXP BSOD when memory hotplug is enabled 2015-01-26 20:25:52 +02:00
acpi-dsdt-dbug.dsl i386: add ACPI table files from seabios 2013-10-14 17:48:51 +03:00
acpi-dsdt-hpet.dsl ACPI: Remove commented-out code from HPET._CRS 2014-02-10 11:09:33 +02:00
acpi-dsdt-isa.dsl ACPI: Fix AppleSMC _STA size 2014-01-26 13:06:48 +02:00
acpi-dsdt-mem-hotplug.dsl target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
acpi-dsdt-pci-crs.dsl pc: Q35 DSDT: exclude CPU hotplug IO range from PCI bus resources 2014-01-26 13:11:44 +02:00
acpi-dsdt.dsl target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
acpi-dsdt.hex.generated acpi: update generated hex files 2015-01-27 14:45:18 +02:00
intel_iommu_internal.h intel-iommu: add IOTLB using hash table 2014-08-28 23:10:22 +02:00
intel_iommu.c exec: RCUify AddressSpaceDispatch 2015-02-16 17:30:19 +01:00
kvmvapic.c kvmvapic: patch_instruction fix 2014-10-31 11:29:02 +01:00
Makefile.objs bios-linker-loader: move source to common location 2015-01-27 14:46:17 +02:00
multiboot.c multiboot: Fix offset of bootloader name 2015-01-26 12:22:44 +01:00
multiboot.h refer to FWCfgState explicitly 2013-06-02 18:14:02 +03:00
pc_piix.c isa: add memory space parameter to isa_bus_new 2015-02-13 14:09:27 +00:00
pc_q35.c target-i386: Disable HLE and RTM on Haswell & Broadwell 2015-01-26 12:27:05 +01:00
pc_sysfw.c x86: Drop superfluous conditionals around g_free() 2014-12-15 12:21:02 +01:00
pc.c acpi, pc: Add unplug cb for pc machine. 2015-02-26 12:42:18 +01:00
q35-acpi-dsdt.dsl target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
q35-acpi-dsdt.hex.generated acpi: update generated hex files 2015-01-27 14:45:18 +02:00
smbios.c error: Use error_report_err() where appropriate 2015-02-18 10:51:09 +01:00
ssdt-mem.dsl hw:i386: typo fix: MEMORY_HOPTLUG_DEVICE -> MEMORY_HOTPLUG_DEVICE 2014-08-14 13:20:49 +02:00
ssdt-mem.hex.generated target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
ssdt-misc.dsl target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
ssdt-misc.hex.generated target-i386: move generic memory hotplug methods to DSDTs 2014-11-24 20:57:10 +02:00
ssdt-pcihp.dsl acpi-build: append description for non-hotplug 2014-03-09 21:09:30 +02:00
ssdt-pcihp.hex.generated acpi: update generated files 2014-06-19 16:41:52 +03:00
ssdt-proc.dsl ssdt: fix PBLK length 2013-10-14 17:48:57 +03:00
ssdt-proc.hex.generated acpi: update generated files 2014-06-19 16:41:52 +03:00
ssdt-tpm.dsl Add ACPI tables for TPM 2014-08-25 00:16:06 +02:00
ssdt-tpm.hex.generated ssdt-tpm: add generated hex file to git 2014-08-25 00:16:06 +02:00