summary refs log tree commit diff stats
path: root/hw/mst_fpga.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-08-22 19:12:12 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-22 14:37:03 -0500
commit80763888bfcb89dddb2f4eeece8ffc2ed91bde40 (patch)
tree2e83ff9249c33705aa57dea82a98db9792688c6e /hw/mst_fpga.c
parentfe55ff6e6114c7382a68a2cf7230f125d4f3a248 (diff)
downloadfocaccia-qemu-80763888bfcb89dddb2f4eeece8ffc2ed91bde40.tar.gz
focaccia-qemu-80763888bfcb89dddb2f4eeece8ffc2ed91bde40.zip
vga: Use linear mapping + dirty logging in chain 4 memory access mode
Most VGA memory access modes require MMIO handling as they demand weird
logic to get a byte from or into the video RAM. However, there is one
exception: chain 4 mode with all memory planes enabled for writing. This
mode actually allows lineary mapping, which can then be combined with
dirty logging to accelerate KVM.

This patch accelerates specifically VBE accesses like they are used by
grub in graphical mode. Not only the standard VGA adapter benefits from
this, also vmware and spice in VGA mode.

CC: Gerd Hoffmann <kraxel@redhat.com>
CC: Avi Kivity <avi@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions