From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Restoring saved guest causes guest to reboot Date: Tue, 24 May 2011 16:20:05 +0300 Message-ID: <4DDBB085.2010907@redhat.com> References: <20110524091810.GH23407@8bytes.org> <20110524094023.GI23407@8bytes.org> <20110524130208.GJ23407@8bytes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Markus Schade , kvm@vger.kernel.org To: Joerg Roedel Return-path: Received: from mx1.redhat.com ([209.132.183.28]:31180 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756283Ab1EXNUM (ORCPT ); Tue, 24 May 2011 09:20:12 -0400 In-Reply-To: <20110524130208.GJ23407@8bytes.org> Sender: kvm-owner@vger.kernel.org List-ID: On 05/24/2011 04:02 PM, Joerg Roedel wrote: > On Tue, May 24, 2011 at 01:42:23PM +0200, Markus Schade wrote: > > Hi, > > > > On Tue, 24 May 2011, Joerg Roedel wrote: > > > >>> I could try to also confirm this on AMD X2, but it will take me a little > >>> to setup a machine. > >> > >> Your description points to some problem in the kernel. Would be good if > >> you could try the same on your AMD X2 to find out if the problem is in > >> generic kvm code or in the vmx part. > > > > Okay, it seems to be an Intel-specific bug. I have tested multiple qemu-kvm > > (0.13, 0.14 and 0.14.1) and kernel versions (2.6.37.6, 2.6.38.6 and > > 2.6.39) on an AMD X2 6000+. Neither of them causes the guest to reboot. > > Everything works as expected. > > Hmm, only 19 patches between .37 and .38 touch vmx.c. Avi, any idea which > of those patches could cause this? Might be several. Markus, can you try a bisect? The command $ git bisect start v2.6.38 v2.6.37 arch/x86/kvm will generate test kernels for you to compile and run. There will be 7-8 tests needed, and most of the compiles should be short (esp. if you install ccache). -- error compiling committee.c: too many arguments to function