On 01/11/2010 07:27 PM, Ryota Ozaki wrote:
CPU hotplug feature is lost in this version. Even worse
cpu_set qemu command may cause segfault.
This patch fix the problem by just disabling it. It is
enough for the stable branch.
Signed-off-by: Ryota Ozaki<ozaki.ry...@gmail.com>
Cc: Gleb Natapov<g...@redhat.com>
---
monitor.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/monitor.c b/monitor.c
index 6ff6e1f..4b566d2 100644
--- a/monitor.c
+++ b/monitor.c
@@ -829,7 +829,9 @@ static void do_cpu_set_nr(Monitor *mon, const QDict *qdict)
return;
}
#if defined(TARGET_I386) || defined(TARGET_X86_64)
- qemu_system_cpu_hot_add(value, state);
+ //qemu_system_cpu_hot_add(value, state);
+ monitor_printf(mon, "The feature is not avaiable in this version. "
+ "It will be back in a future version.\n");
#endif
}
Daniel, how is libvirt going to react to this?
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html