]> git.proxmox.com Git - mirror_qemu.git/commit - kvm-all.c
memory: manage coalesced mmio via a MemoryListener
authorAvi Kivity <avi@redhat.com>
Tue, 2 Oct 2012 16:21:54 +0000 (18:21 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 22 Oct 2012 12:50:00 +0000 (14:50 +0200)
commit95d2994a2f756c9c8684709421d40c45e63e4e04
tree7b51a5234bb44cece7c7eca14c444a67a9425b43
parentbf83601fddb976753b498a879cbdc8f107f59f53
memory: manage coalesced mmio via a MemoryListener

Instead of calling a global function on coalesced mmio changes, which
routes the call to kvm if enabled, add coalesced mmio hooks to
MemoryListener and make kvm use that instead.

The motivation is support for multiple address spaces (which means we
we need to filter the call on the right address space) but the result
is cleaner as well.

Signed-off-by: Avi Kivity <avi@redhat.com>
exec.c
kvm-all.c
kvm-stub.c
kvm.h
memory.c
memory.h