From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujl29-0000wi-Sz for qemu-devel@nongnu.org; Tue, 04 Jun 2013 02:47:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ujl25-0006LG-64 for qemu-devel@nongnu.org; Tue, 04 Jun 2013 02:47:53 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:35465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujl25-0006L1-0Y for qemu-devel@nongnu.org; Tue, 04 Jun 2013 02:47:49 -0400 Received: by mail-wi0-f179.google.com with SMTP id hm9so410693wib.12 for ; Mon, 03 Jun 2013 23:47:48 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51AD8D88.70104@redhat.com> Date: Tue, 04 Jun 2013 08:47:36 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] VM can not boot after commit 235e898 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dunrong Huang Cc: Jordan Justen , qemu-devel Il 04/06/2013 05:47, Dunrong Huang ha scritto: > > QEMU command: > ~/usr/bin/qemu-system-x86_64 -enable-kvm -m 1024 debian-append.img > > git bisect tells that the following commit causes this bug: > > commit 235e8982ad393e5611cb892df54881c872eea9e1 > Author: Jordan Justen > > Date: Wed May 29 01:27:26 2013 -0700 > > kvm: support using KVM_MEM_READONLY flag for regions > > For readonly memory regions and rom devices in romd_mode, > we make use of the KVM_MEM_READONLY. A slot that uses > KVM_MEM_READONLY can be read from and code can execute from the > region, but writes will exit to qemu. > > After reverting this commit, VM can boot normally. A patch is queued for that. Using kernel 3.8 or reverting the commit will both work. Paolo > > Any information I should provide? > > -- > Best Regards, > > Dunrong Huang > > Homepage: http://mathslinux.org > > > > > > > > > > > > > > > > > > > > > > > > > >