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 <[email protected]> Cc: Gleb Natapov <[email protected]> --- 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 } -- 1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
