From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB0Ff-00059u-Ka for qemu-devel@nongnu.org; Mon, 10 Sep 2012 05:26:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TB0FZ-0000es-M8 for qemu-devel@nongnu.org; Mon, 10 Sep 2012 05:25:55 -0400 Received: from thoth.sbs.de ([192.35.17.2]:34948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB0FZ-0000eo-8m for qemu-devel@nongnu.org; Mon, 10 Sep 2012 05:25:49 -0400 Message-ID: <504DB212.3000908@siemens.com> Date: Mon, 10 Sep 2012 11:25:38 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1347006389-543-1-git-send-email-liusheng@linux.vnet.ibm.com> <1347006389-543-4-git-send-email-liusheng@linux.vnet.ibm.com> <5049B56B.20707@siemens.com> <504CB9B3.8010408@redhat.com> In-Reply-To: <504CB9B3.8010408@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/3] support readonly memory feature in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: "aliguori@us.ibm.com" , "kvm@vger.kernel.org" , "mtosatti@redhat.com" , "qemu-devel@nongnu.org" , "xiaoguangrong@linux.vnet.ibm.com" , Liu Sheng On 2012-09-09 17:45, Avi Kivity wrote: > On 09/07/2012 11:50 AM, Jan Kiszka wrote: >> >>> + } else { >>> + cpu_physical_memory_rw(run->mmio.phys_addr, >>> + run->mmio.data, >>> + run->mmio.len, >>> + run->mmio.is_write); >>> + } >>> + >>> ret = 0; >>> break; >>> case KVM_EXIT_IRQ_WINDOW_OPEN: >>> >> >> Great to see this feature for KVM finally! I'm just afraid that this >> will finally break good old isapc - due to broken Seabios. KVM used to >> "unbreak" it as it didn't respect write protections. ;) > > Can you describe the breakage? Try "qemu -machine isapc [-enable-kvm]". Seabios is writing to some read-only marked area. Don't recall where precisely. Jan -- Siemens AG, Corporate Technology, CT RTC ITP SDP-DE Corporate Competence Center Embedded Linux