From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Oops after resume from suspend Date: Thu, 25 Jan 2007 09:58:48 +0200 Message-ID: <45B86338.8050306@qumranet.com> References: <1169676112.10817.13.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: <1169676112.10817.13.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: > When using kvm on my laptop, I get the following oops if I try using kvm > after a suspend (ACPI S3)/resume cycle. At first I thought it went away > if I unloaded the module before suspending and then reloading it > afterwards, but I can't reproduce that working now, so I might have just > been hallucinating. Thoughts of things to try? > Module unload/reload should work. Can you try adding printks in hardware_disable() and hardware_enable()? For real suspend support, we need to flush any cached state on Intel cpus (vmcs_clear), and to do the hardware_disable()/hardware_enable() cycle. Should be easy. -- 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