[Qemu-devel] [PATCH V4] Introduce a new bus ICC to connect APIC

2011-11-10 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com Introduce a new structure CPUS as the controller of ICC (INTERRUPT CONTROLLER COMMUNICATIONS), and new bus ICC to hold APIC,instead of sysbus. So we can support APIC hot-plug feature. Signed-off-by: liu ping fan pingf...@linux.vnet.ibm.com ---

[Qemu-devel] [PATCH V3] Introduce a new bus ICC to connect APIC

2011-11-03 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com Introduce a new structure CPUS as the controller of ICC (INTERRUPT CONTROLLER COMMUNICATIONS), and new bus ICC to hold APIC,instead of sysbus. So we can support APIC hot-plug feature. Signed-off-by: liu ping fan pingf...@linux.vnet.ibm.com ---

[Qemu-devel] [PATCH V2] Introduce a new bus ICC to connect APIC

2011-11-01 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com Introduce a new structure CPUS as the controller of ICC (INTERRUPT CONTROLLER COMMUNICATIONS), and new bus ICC to hold APIC,instead of sysbus. So we can support APIC hot-plug feature. Signed-off-by: liu ping fan pingf...@linux.vnet.ibm.com ---

[Qemu-devel] [PATCH 1/1] Introduce a new bus ICC to connect APIC

2011-10-18 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com Introduce a new structure CPUS as the controller of ICC (INTERRUPT CONTROLLER COMMUNICATIONS), and new bus ICC to hold APIC,instead of sysbus. So we can support APIC hot-plug feature. Signed-off-by: liu ping fan pingf...@linux.vnet.ibm.com ---

[Qemu-devel] [PATCH 1/1] ACPI: Call ACPI remove handler when handling ACPI eject event

2011-10-18 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com Call the remove handler for ACPI_NOTIFY_EJECT_REQUEST Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com --- drivers/acpi/bus.c |2 +- drivers/acpi/scan.c |2 +- include/acpi/acpi_bus.h |2 ++ 3 files changed, 4

[Qemu-devel] [PATCH 0/1] ACPI: Call ACPI remove handler when handling ACPI eject

2011-10-18 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com When I tried to enable cpu hotplug feature for qemu-kvm, I found that the ACPI device eject event just skipped by kernel. static void acpi_bus_notify(acpi_handle handle, u32 type, void *data) { case ACPI_NOTIFY_EJECT_REQUEST:

[Qemu-devel] [PATCH 1/1] ACPI: Call ACPI remove handler when handling ACPI eject event

2011-10-18 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com Call the remove handler for ACPI_NOTIFY_EJECT_REQUEST Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com --- drivers/acpi/bus.c |2 +- drivers/acpi/scan.c |2 +- include/acpi/acpi_bus.h |2 ++ 3 files changed, 4

[Qemu-devel] [PATCH 0/1] ACPI: Call ACPI remove handler when handling ACPI eject

2011-10-18 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com When I tried to enable cpu hotplug feature for qemu-kvm, I found that the ACPI device eject event just skipped by kernel. static void acpi_bus_notify(acpi_handle handle, u32 type, void *data) { case ACPI_NOTIFY_EJECT_REQUEST:

[Qemu-devel] [PATCH 1/2] ACPI: Update cpu hotplug event for guest

2011-10-04 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com Need to update cpu hotplug event for guest when updating SCI event Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com --- hw/acpi_piix4.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/hw/acpi_piix4.c

[Qemu-devel] [PATCH] ACPI: Call ACPI remove handler when handling ACPI eject event

2011-10-04 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com Call the remove handler for ACPI_NOTIFY_EJECT_REQUEST Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com --- drivers/acpi/bus.c |2 +- drivers/acpi/scan.c |2 +- include/acpi/acpi_bus.h |2 ++ 3 files changed, 4

[Qemu-devel] [PATCH 2/2] LAPIC: make lapic support cpu hotplug

2011-10-04 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com Separate apic from qbus to icc bus which supports hotplug feature. And make the creation of apic as part of cpu initialization, so apic's state has been ready, before setting kvm_apic. Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com ---

[Qemu-devel] Enable x86 linux guest with cpu hotplug feature.

2011-10-04 Thread pingfank
From: Liu Ping Fan pingf...@linux.vnet.ibm.com A bunch of patches, which are applied separately for kernel and qemu-kvm, and make x86 based linux guest with cpu hotplug feature. For kernel: 0001-ACPI-Call-ACPI-remove-handler-when-handling-ACPI-eje.patch --call acpi eject event handler in