aboutsummaryrefslogtreecommitdiff
path: root/memory.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-07-26 14:26:02 +0300
committerAnthony Liguori <aliguori@us.ibm.com>2011-07-29 08:25:42 -0500
commit5a583347697413f964d886b074860cb888c0e306 (patch)
treef11cbbb41a0c8ad424ac35f9077e1d396864b842 /memory.h
parent093bc2cd885e4e3420509a80a1b9e81848e4b8fe (diff)
downloadqemu-5a583347697413f964d886b074860cb888c0e306.zip
qemu-5a583347697413f964d886b074860cb888c0e306.tar.gz
qemu-5a583347697413f964d886b074860cb888c0e306.tar.bz2
memory: implement dirty tracking
Currently dirty tracking is implemented by passing through all calls to the underlying cpu_physical_memory_*() calls. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'memory.h')
-rw-r--r--memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/memory.h b/memory.h
index a4c94bd..d441bd8 100644
--- a/memory.h
+++ b/memory.h
@@ -99,6 +99,7 @@ struct MemoryRegion {
QTAILQ_ENTRY(MemoryRegion) subregions_link;
QTAILQ_HEAD(coalesced_ranges, CoalescedMemoryRange) coalesced;
const char *name;
+ uint8_t dirty_log_mask;
};
/**