From: Xiantao Zhang <[EMAIL PROTECTED]> Date: Thu, 20 Mar 2008 10:17:29 +0800 Subject: [PATCH] kvm:qemu: qemu_system_cpu_hot_add not supported for ia64.
Comment it out first for ia64 build.
Signed-off-by: Xiantao Zhang <[EMAIL PROTECTED]>
---
qemu/hw/acpi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/qemu/hw/acpi.c b/qemu/hw/acpi.c
index ae74f32..35641a0 100644
--- a/qemu/hw/acpi.c
+++ b/qemu/hw/acpi.c
@@ -718,7 +718,7 @@ static void disable_processor(struct gpe_regs *g,
int cpu)
g->en |= 1;
g->down |= (1 << cpu);
}
-
+#if defined(TARGET_I386) || defined(TARGET_X86_64)
void qemu_system_cpu_hot_add(int cpu, int state)
{
CPUState *env;
@@ -743,7 +743,7 @@ void qemu_system_cpu_hot_add(int cpu, int state)
disable_processor(&gpe, cpu);
qemu_set_irq(pm_state->irq, 0);
}
-
+#endif
static void enable_device(struct pci_status *p, struct gpe_regs *g, int
slot)
{
g->sts |= 2;
--
1.5.2
0001-kvm-qemu-qemu_system_cpu_hot_add-not-supported-for.patch
Description: 0001-kvm-qemu-qemu_system_cpu_hot_add-not-supported-for.patch
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
