From patchwork Mon Jan 11 17:27:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryota Ozaki X-Patchwork-Id: 72155 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0BHRMAv027070 for ; Mon, 11 Jan 2010 17:27:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752499Ab0AKR1U (ORCPT ); Mon, 11 Jan 2010 12:27:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753202Ab0AKR1U (ORCPT ); Mon, 11 Jan 2010 12:27:20 -0500 Received: from mail-fx0-f215.google.com ([209.85.220.215]:45179 "EHLO mail-fx0-f215.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752323Ab0AKR1U (ORCPT ); Mon, 11 Jan 2010 12:27:20 -0500 Received: by fxm7 with SMTP id 7so100207fxm.28 for ; Mon, 11 Jan 2010 09:27:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=lLHs/AerC0VmotZ5dQiAt/VjhyTYCa23jiR0Dv/vGSg=; b=fsk5peIEjyd7i+lHj54p2XHZaIbxpGEYiLRXpw1fa0rMG7SGrG6IFzGmiOXXaEiVqb FZU4BTT4uumsOWR1mZWLR5mQD+xDcCWrWMSdTH/jbvehsjcG+SEhb4ItWjMpwBQcG6JZ f94MPwdcDfbG4cfMFThv8+5xyfOnT9R+1Opbk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=aGBvsX3D90PioRHy7zEI8YVIZr+5VMzICQQn78GYZLyTCxA/2BVovQi+S0p7GaYzDf 2aNvTQa+5aWB2DcRrNvBCWC8qkcfjLRD2V67mmuA5AGfjulymcpS47fp0O5+2dropCL2 AnWcPvE6ru1BH8m+zF5etNVPrY7Jcv0l2og14= Received: by 10.87.44.12 with SMTP id w12mr8028217fgj.74.1263230838636; Mon, 11 Jan 2010 09:27:18 -0800 (PST) Received: from localhost.localdomain (host105.nvlab.org [122.1.115.105]) by mx.google.com with ESMTPS id e3sm7410908fga.16.2010.01.11.09.27.15 (version=SSLv3 cipher=RC4-MD5); Mon, 11 Jan 2010 09:27:17 -0800 (PST) From: Ryota Ozaki To: kvm@vger.kernel.org Cc: Gleb Natapov Subject: [PATCH][STABLE-0.12] qemu-kvm: Disable cpu_set command to avoid segfault Date: Tue, 12 Jan 2010 02:27:02 +0900 Message-Id: <1263230822-17703-1-git-send-email-ozaki.ryota@gmail.com> X-Mailer: git-send-email 1.6.5.2 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 }