]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Add MMIO coalescing support
authorSasha Levin <levinsasha928@gmail.com>
Fri, 3 Jun 2011 19:51:08 +0000 (22:51 +0300)
committerPekka Enberg <penberg@kernel.org>
Fri, 3 Jun 2011 20:28:47 +0000 (23:28 +0300)
commit73389b5ea017288a949ae27536c8cfd298d3e317
treec11a0e687e247a6b1b28eca8f80c62406baa1abd
parente2352719c315d0bf8674798f28631bf73cc6e583
kvm tools: Add MMIO coalescing support

Coalescing MMIO allows us to avoid an exit every time we have a
MMIO write, instead - MMIO writes are coalesced in a ring which
can be flushed once an exit for a different reason is needed.
A MMIO exit is also trigged once the ring is full.

Coalesce all MMIO regions registered in the MMIO mapper.
Add a coalescing handler under kvm_cpu.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/hw/vesa.c
tools/kvm/include/kvm/kvm-cpu.h
tools/kvm/include/kvm/kvm.h
tools/kvm/kvm-cpu.c
tools/kvm/mmio.c