From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: CPU hotplug add seems broken Date: Sat, 9 Jan 2010 16:30:11 -0300 Message-ID: <20100109193011.GA25426@defiant.freesoftware> References: <5e93dcec1001080235r6b3de506q8b2ba132fa1ff52c@mail.gmail.com> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" To: kvm@vger.kernel.org Return-path: Received: from mail.gmx.net ([213.165.64.20]:45805 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750841Ab0AITaR (ORCPT ); Sat, 9 Jan 2010 14:30:17 -0500 Received: from defiant (defiant.freesoftware [10.1.0.65]) by hermes.freesoftware (Postfix) with ESMTP id 810DF637 for ; Sat, 9 Jan 2010 16:31:00 -0300 (ART) Content-Disposition: inline In-Reply-To: <5e93dcec1001080235r6b3de506q8b2ba132fa1ff52c@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Friday, 08 January 2010 19:35:04 +0900, Ryota Ozaki wrote: > Hi all, Hi, Ryota. > I've tried CPU hotplug with latest qemu-kvm.git code, > and got segmentation fault. I'm also having this problem but with Linux 2.6.32.2 + qemu-kvm-0.12.1.1 in the host: Jan 9 16:11:11 ubuntu kernel: [758479.480219] qemu-system-x86[29330]: segfault at 90 ip 00007f5816bf3990 sp 00007fff9258fc88 error 4 in libpthread-2.7.so[7f5816be8000+16000] I've guest with one cpu in which I try to add one more. For this I execute the following in qemu monitor and here it is where I got segmentation fault: (qemu) cpu_set 1 online Connection closed by foreign host. I'm not sure if the procedure that I'm following is the correct one. I tried as much without using additional parameters when boots guest like using -smp 1,maxcpus=3D2, but I reach the same result. The Kernel of guest has checked the "Support for hot-pluggable CPUs" option, in case it is necessary. Regards, Daniel --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktI2UMACgkQZpa/GxTmHTeqogCggMKk8w4mvEROmH+Aeocuj4Fk 86wAn0UujpJFZnBy0Ux1PPxpJN4B5dmL =zaKD -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--