cirrus_vga/migration: update the bank offset before use
commitb7ee9e4970bd76ca181ae6ea853c350e039eb71d
authorWang Xin <wangxinxin.wang@huawei.com>
Fri, 23 Nov 2018 06:46:46 +0000 (23 14:46 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 27 Nov 2018 06:47:57 +0000 (27 07:47 +0100)
tree8bdf18f7df992e4c0b77cd31a0b2358e7a665ab5
parentd2e550a82893d5498c4be51559ec2607d7f5e101
cirrus_vga/migration: update the bank offset before use

The cirrus bank0/1 offset should be updated before we update the vram's alias
offset.

Signed-off-by: Wang Xin <wangxinxin.wang@huawei.com>
Message-id: 20181123064646.23036-1-linzhecheng@huawei.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/cirrus_vga.c