From: Shaohua Li Subject: Re: [PATCH 0/7] KVM: Suspend and cpu hotplug fixes Date: Fri, 25 May 2007 09:10:32 +0800 Message-ID: <1180055432.9919.3.camel@sli10-conroe.sh.intel.com> References: <1180008615579-git-send-email-avi@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, lhcs-devel@lists.sourceforge.net To: Avi Kivity Return-path: In-Reply-To: <1180008615579-git-send-email-avi@qumranet.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Thu, 2007-05-24 at 20:10 +0800, Avi Kivity wrote: > The following patchset makes kvm more robust wrt cpu hotunplug, and > makes suspend-to-ram actually work. Suspend-to-disk benefits from > the cpu hotunplug improvements as well. > > The major issue is that KVM wants to disable the virtualization > extensions at a point in time when no user processes are schedulable > on the victim cpu. No current notifier exists, so a new one, > CPU_DYING, > is added for the purpose. > > Should there be no objections, I will submit this patchset for > inclusion > in 2.6.22, and backport it to 2.6.21.stable. Is it possible disabling kvm can be done at the begining of play_dead? take_cpu_done is designed to run fast. Thanks, Shaohua