memory: Flush coalesced MMIO on selected region access
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 23 Aug 2012 11:02:29 +0000 (13:02 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 11 Sep 2012 21:15:21 +0000 (18:15 -0300)
commitd410515e035ccb7433c6a3a8157742f6f679f57f
tree5cb41e4585b863b5457c5e9643e0a759846d1fdc
parent8732fbd2afce18afc429da2ad76df7c48b4bac4b
memory: Flush coalesced MMIO on selected region access

Instead of flushing pending coalesced MMIO requests on every vmexit,
this provides a mechanism to selectively flush when memory regions
related to the coalesced one are accessed. This first of all includes
the coalesced region itself but can also applied to other regions, e.g.
of the same device, by calling memory_region_set_flush_coalesced.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
memory.c
memory.h