From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryota Ozaki Subject: Re: CPU hotplug add seems broken Date: Sun, 10 Jan 2010 17:33:02 +0900 Message-ID: <5e93dcec1001100033tdb930eqcaf48a36ee36b335@mail.gmail.com> References: <5e93dcec1001080235r6b3de506q8b2ba132fa1ff52c@mail.gmail.com> <20100109193011.GA25426@defiant.freesoftware> <20100110063911.GG4905@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: dbareiro@gmx.net, kvm@vger.kernel.org, Ryota OZAKI To: Gleb Natapov Return-path: Received: from mail-pz0-f188.google.com ([209.85.222.188]:40030 "EHLO mail-pz0-f188.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750874Ab0AJIdE convert rfc822-to-8bit (ORCPT ); Sun, 10 Jan 2010 03:33:04 -0500 Received: by pzk26 with SMTP id 26so11623425pzk.4 for ; Sun, 10 Jan 2010 00:33:04 -0800 (PST) In-Reply-To: <20100110063911.GG4905@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Jan 10, 2010 at 3:39 PM, Gleb Natapov wrote: > On Sat, Jan 09, 2010 at 04:30:11PM -0300, Daniel Bareiro wrote: >> 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= =2E1.1 >> in the host: >> >> Jan =A09 16:11:11 ubuntu kernel: [758479.480219] qemu-system-x86[293= 30]: >> 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 l= ike >> 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. >> > CPU host-plug is not supported on qemu-kvm-0.12. It shouldn't segfaul= t > obviously, I see. Anyway I think we need some workaround to avoid segfault. > but ACPI code that handles CPU host-plug was not ported to > SeaBIOS when it replaces BOCH BIOS. Yeah, I confirmed it during memory hotplug work... So I'd like to know when cpu hotplug comes back? I didn't see it in qemu-0.13 feature requests. ozaki-r > > -- > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Gleb. > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at =A0http://vger.kernel.org/majordomo-info.html >