Commit ee50c6bc619ddd3b1e32f4eeebd4203bef56bac1
1 parent
93a0dba7
cirrus: unmap vram on reset (Jan Kiszka)
Fix the broken text mode after reset by unmapping potentially mapped vram. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6382 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
hw/cirrus_vga.c
... | ... | @@ -3169,6 +3169,7 @@ static void cirrus_reset(void *opaque) |
3169 | 3169 | CirrusVGAState *s = opaque; |
3170 | 3170 | |
3171 | 3171 | vga_reset(s); |
3172 | + unmap_linear_vram(s); | |
3172 | 3173 | s->sr[0x06] = 0x0f; |
3173 | 3174 | if (s->device_id == CIRRUS_ID_CLGD5446) { |
3174 | 3175 | /* 4MB 64 bit memory config, always PCI */ | ... | ... |