From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: cpu hotplug Date: Sun, 19 Sep 2010 17:53:47 +0200 Message-ID: <20100919155347.GA3008@redhat.com> References: <20100919134045.GU3008@redhat.com> <20100919134620.GB9740@morn.localdomain> <20100919135008.GV3008@redhat.com> <1284905270.9521.221.camel@frechmops.schnuffi.conrad.localdomain> <20100919143611.GW3008@redhat.com> <1284909384.9521.228.camel@frechmops.schnuffi.conrad.localdomain> <20100919151916.GX3008@redhat.com> <1284910638.9521.242.camel@frechmops.schnuffi.conrad.localdomain> <20100919154113.GZ3008@redhat.com> <1284911040.9521.244.camel@frechmops.schnuffi.conrad.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Kevin O'Connor" , kvm@vger.kernel.org To: Conrad Wood Return-path: Received: from mx1.redhat.com ([209.132.183.28]:44566 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754776Ab0ISPxy (ORCPT ); Sun, 19 Sep 2010 11:53:54 -0400 Content-Disposition: inline In-Reply-To: <1284911040.9521.244.camel@frechmops.schnuffi.conrad.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Sep 19, 2010 at 05:44:00PM +0200, Conrad Wood wrote: > > > > However after step 7 the guest can turn the cpu online again by issuing > > > echo 1 >/sys/devices/.../cpuX/online > > There will be no /sys/devices/.../cpuX/online in guest after step 7. > > Well then at least in my version there's a bug, because it still is > there and never goes away. (kvm 0.12.5) > And changing it to online works as well. Can you provide exact steps you are using? After doing cpu_set x offline cpu x should disappear from a guest. Otherwise cpu eject didn't work. > Which version are you using? > Nothing :) I am saying how it should work. Last time I played with cpu hot-plug was with qemu-kvm 0.11.x. -- Gleb.