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

2011-11-10 Thread pingfank
From: Liu Ping Fan 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 --- Makefile.target |1 + hw/apic.c | 24

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

2011-11-03 Thread pingfank
From: Liu Ping Fan 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 --- Makefile.target |1 + hw/apic.c | 24

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

2011-11-01 Thread pingfank
From: Liu Ping Fan 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 --- Makefile.target |1 + hw/apic.c | 24

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

2011-10-18 Thread pingfank
From: Liu Ping Fan 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: /* TBD */---> skipped fro

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

2011-10-18 Thread pingfank
From: Liu Ping Fan Call the remove handler for ACPI_NOTIFY_EJECT_REQUEST Signed-off-by: Liu Ping Fan --- drivers/acpi/bus.c |2 +- drivers/acpi/scan.c |2 +- include/acpi/acpi_bus.h |2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/bus.c b/

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

2011-10-18 Thread pingfank
From: Liu Ping Fan 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: /* TBD */---> skipped fro

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

2011-10-18 Thread pingfank
From: Liu Ping Fan Call the remove handler for ACPI_NOTIFY_EJECT_REQUEST Signed-off-by: Liu Ping Fan --- drivers/acpi/bus.c |2 +- drivers/acpi/scan.c |2 +- include/acpi/acpi_bus.h |2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/bus.c b/

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

2011-10-18 Thread pingfank
From: Liu Ping Fan 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 --- Makefile.target |1 + hw/apic.c | 25

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

2011-10-04 Thread pingfank
From: Liu Ping Fan 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 acpi_bus_notify() For qemu-kvm: 00

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

2011-10-04 Thread pingfank
From: Liu Ping Fan 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 --- Makefile.target |1 + hw/apic.c|7

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

2011-10-04 Thread pingfank
From: Liu Ping Fan Need to update cpu hotplug event for guest when updating SCI event Signed-off-by: Liu Ping Fan --- hw/acpi_piix4.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c index 44eb8ae..f585226 100644 --- 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 Call the remove handler for ACPI_NOTIFY_EJECT_REQUEST Signed-off-by: Liu Ping Fan --- drivers/acpi/bus.c |2 +- drivers/acpi/scan.c |2 +- include/acpi/acpi_bus.h |2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/bus.c b/