]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools, vesa: Use guest-mapped memory for framebuffer
authorPekka Enberg <penberg@kernel.org>
Mon, 6 Jun 2011 13:48:50 +0000 (16:48 +0300)
committerPekka Enberg <penberg@kernel.org>
Mon, 6 Jun 2011 16:19:25 +0000 (19:19 +0300)
commit6768f733a8e0aa0821b96e8312e77449de15eaf0
tree96e5a32f95c280dae17331f358dceba0929099af
parent73389b5ea017288a949ae27536c8cfd298d3e317
kvm tools, vesa: Use guest-mapped memory for framebuffer

This patch converts hw/vesa.c to use guest-mapped memory for framebuffer and
drops the slow MMIO emulation. This speeds up framebuffer accesses
considerably. Please note that this can be optimized even more with the
KVM_GET_DIRTY_LOG ioctl() as explained by Alexander Graf.

Cc: Alexander Graf <agraf@suse.de>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: John Floren <john@jfloren.net>
Cc: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/hw/vesa.c
tools/kvm/include/kvm/kvm.h
tools/kvm/kvm.c