]> git.ipfire.org Git - thirdparty/qemu.git/commit
Make sure to enable dirty tracking of VBE vram mapping
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 17 Dec 2009 22:08:07 +0000 (08:08 +1000)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 19 Dec 2009 14:26:23 +0000 (08:26 -0600)
commit3c547d7bb7889182d5bcecbb3edea4c71774c6a3
treec4d2257aa2119e95d607754f3d190820ddfd7488
parent3b43502e3aaf6102d6f4c75bfc1f61da0620196e
Make sure to enable dirty tracking of VBE vram mapping

Apparently, VBE maps the VGA vram to a fixed physical location.  KVM requires
that all mappings of the VGA vram have dirty tracking enabled on them.  Any
access to the VGA vram through the VBE mapping currently fails to result in
dirty page tracking updates causing a black screen.

This is the true root cause of VMware VGA not working correctly under KVM and
likely also an issue with some of the std-vga black screen issues too.

Cirrus does not enable VBE so it would not be a problem when using Cirrus.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Rebased-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit f0138a63a41fe26bcef61d031ae53d872d12a992)
hw/vga-isa.c
hw/vga-pci.c
hw/vga.c
hw/vga_int.h
hw/vmware_vga.c