From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V22Jr-00014d-4i for qemu-devel@nongnu.org; Wed, 24 Jul 2013 12:53:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V22Jq-0004em-2s for qemu-devel@nongnu.org; Wed, 24 Jul 2013 12:53:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V22Jp-0004dj-Rj for qemu-devel@nongnu.org; Wed, 24 Jul 2013 12:53:42 -0400 Date: Wed, 24 Jul 2013 19:53:35 +0300 From: Gleb Natapov Message-ID: <20130724165335.GN6029@redhat.com> References: <20130604075107.GJ4725@redhat.com> <3B8B589E-4019-4AEE-A846-1A3F45A2EB4D@suse.de> <51EFEFB9.7020905@redhat.com> <20130724152125.GI16400@redhat.com> <51EFF342.3090106@suse.de> <20130724161742.GI6029@redhat.com> <51F00041.3010005@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51F00041.3010005@suse.de> Subject: Re: [Qemu-devel] VM can not boot after commit 235e898 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Anthony Liguori , Jordan Justen , qemu-devel Developers , Dunrong Huang , Hannes Reinecke , Paolo Bonzini , Jordan Justen On Wed, Jul 24, 2013 at 06:26:41PM +0200, Alexander Graf wrote: > >before. Are you saying configuring BIOS memslot differently solves the > >problem? > > Git bisect pointed to the commit mentioned in this email. The > following patch also gets me a working guest again: > > diff --git a/kvm-all.c b/kvm-all.c > index 4fb4ccb..deca9e5 100644 > --- a/kvm-all.c > +++ b/kvm-all.c > @@ -1455,7 +1455,7 @@ int kvm_init(void) > s->irq_set_ioctl = KVM_IRQ_LINE_STATUS; > } > > -#ifdef KVM_CAP_READONLY_MEM > +#if 0 //def KVM_CAP_READONLY_MEM > kvm_readonly_mem_allowed = > (kvm_check_extension(s, KVM_CAP_READONLY_MEM) > 0); > #endif > Can you disable emulate_invalid_state on 3.7? What happens on upstream kernel (works for me obviously :)). -- Gleb.