diff mbox

[STABLE-0.12] qemu-kvm: Disable cpu_set command to avoid segfault

Message ID 1263230822-17703-1-git-send-email-ozaki.ryota@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ryota Ozaki Jan. 11, 2010, 5:27 p.m. UTC
None
diff mbox

Patch

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
 }