From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFT] kvm host suspend/resume Date: Wed, 31 Jan 2007 17:24:49 +0200 Message-ID: <45C0B4C1.9030301@qumranet.com> References: <45BC96BB.5080203@qumranet.com> <45BF9FDB.6060302@redhat.com> <45C07051.60003@qumranet.com> <1170256759.2880.1.camel@aglarond.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Jeremy Katz Return-path: In-Reply-To: <1170256759.2880.1.camel-T9xAYgMuJli44ywRPIzf9A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Jeremy Katz wrote: > On Wed, 2007-01-31 at 12:32 +0200, Avi Kivity wrote: > >> Jeremy Katz wrote: >> >>> Avi Kivity wrote: >>> >>>> I've committed kvm support for host suspend-to-disk (and hopefully >>>> resume too). This means you can suspend your machine with running >>>> vms, and resume it later will all vms returning to the saved state. >>>> This should please laptop owners. >>>> >>> So testing with trunk (r4365) + 2.6.20-rc5-ish, I'm able to suspend >>> and resume with the modules loaded. Starting a guest after resume >>> gets the following oops in the host; guest is in the grub menu at that >>> point. >>> >>> >> 2.6.20-rc6 can't suspend my test machine (regardless of kvm), so this >> possible fix is completely untested. >> > > Failure looks basically the same. Will try to do some more > investigation later today. > Looks like ->hardware_enable() was not called for some reason. Sprinkling printks in the cpu hotplug and resume callbacks will help. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV