* [Qemu-devel] [6853] stop dirty logging while updating cirrus bank memory (Glauber Costa)
@ 2009-03-13 18:11 Anthony Liguori
0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-03-13 18:11 UTC (permalink / raw)
To: qemu-devel
Revision: 6853
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6853
Author: aliguori
Date: 2009-03-13 18:11:17 +0000 (Fri, 13 Mar 2009)
Log Message:
-----------
stop dirty logging while updating cirrus bank memory (Glauber Costa)
Otherwise, slot tracking gets confused.
This fixes a screen corruption bug with Ubuntu guest installation.
Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Modified Paths:
--------------
branches/stable_0_10_0/hw/cirrus_vga.c
Modified: branches/stable_0_10_0/hw/cirrus_vga.c
===================================================================
--- branches/stable_0_10_0/hw/cirrus_vga.c 2009-03-13 18:10:13 UTC (rev 6852)
+++ branches/stable_0_10_0/hw/cirrus_vga.c 2009-03-13 18:11:17 UTC (rev 6853)
@@ -2637,11 +2637,16 @@
s->lfb_vram_mapped = 0;
+ cpu_register_physical_memory(isa_mem_base + 0xa0000, 0x8000,
+ (s->vram_offset + s->cirrus_bank_base[0]) | IO_MEM_UNASSIGNED);
+ cpu_register_physical_memory(isa_mem_base + 0xa8000, 0x8000,
+ (s->vram_offset + s->cirrus_bank_base[1]) | IO_MEM_UNASSIGNED);
if (!(s->cirrus_srcptr != s->cirrus_srcptr_end)
&& !((s->sr[0x07] & 0x01) == 0)
&& !((s->gr[0x0B] & 0x14) == 0x14)
&& !(s->gr[0x0B] & 0x02)) {
+ vga_dirty_log_stop((VGAState *)s);
cpu_register_physical_memory(isa_mem_base + 0xa0000, 0x8000,
(s->vram_offset + s->cirrus_bank_base[0]) | IO_MEM_RAM);
cpu_register_physical_memory(isa_mem_base + 0xa8000, 0x8000,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-13 18:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13 18:11 [Qemu-devel] [6853] stop dirty logging while updating cirrus bank memory (Glauber Costa) Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).