cirrus_vga: reset lfb_addr after a pci config write if the BAR is unmapped
commit45dcd36e1ebbb3c085bdd157bffaf9276ffd8c46
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 3 Jun 2011 15:56:54 +0000 (3 16:56 +0100)
committerAlexander Graf <agraf@suse.de>
Sun, 19 Jun 2011 02:40:05 +0000 (19 04:40 +0200)
treea5862c2f3d529ab9b7ee14795df0540c22827dbf
parent712c2b41490a986a5dd99bec99b854bac4322201
cirrus_vga: reset lfb_addr after a pci config write if the BAR is unmapped

If the cirrus_vga PCI BAR is unmapped than we should not only reset
map_addr but also lfb_addr, otherwise we'll keep trying to map
the old lfb_addr in map_linear_vram.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/cirrus_vga.c