Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mp58M-0008NM-80 for qemu-devel@nongnu.org; Sat, 19 Sep 2009 14:58:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mp58H-0008Mk-QV for qemu-devel@nongnu.org; Sat, 19 Sep 2009 14:58:09 -0400 Received: from [199.232.76.173] (port=44051 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mp58H-0008Mb-J2 for qemu-devel@nongnu.org; Sat, 19 Sep 2009 14:58:05 -0400 Received: from mail.gmx.net ([213.165.64.20]:50104) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Mp58G-00040h-VB for qemu-devel@nongnu.org; Sat, 19 Sep 2009 14:58:05 -0400 Message-ID: <7F3A10C3F33A425DBB79F268F0E9A212@FSCPC> From: "Sebastian Herbszt" Date: Sat, 19 Sep 2009 20:57:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] piix_pci.c update_pam() incorrectness List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org update_pam() in hw/piix_pci.c contains the following: switch(r) { ... case 2: case 0: /* XXX: should distinguish read/write cases */ for(addr = start; addr < end; addr += 4096) { cpu_register_physical_memory(addr, 4096, d->isa_page_descs[(addr - 0xa0000) >> 12]); } break; Is anyone working on fixing this? This emulation incorrectness prevents "in-place" copies between rom and ram. Bochs behaviour is correct in this case, but this issue in qemu requires the use of temporary storage (see bios_shadow_init() in rombios32.c (bochs bios) or shadow.c in seabios). - Sebastian