diff options
author | Juan Quintela <quintela@redhat.com> | 2012-06-22 15:21:07 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-06-29 13:31:07 +0200 |
commit | 45f33f01f359d6028ec4b4018a2bf2ff53806e11 (patch) | |
tree | 1349fd5ada2a86bfa51df5fd8c9c9da5abbe95ea /cpu-all.h | |
parent | 1720aeee72888f80b974c33b6eb39922a0bea992 (diff) | |
download | qemu-45f33f01f359d6028ec4b4018a2bf2ff53806e11.tar.gz qemu-45f33f01f359d6028ec4b4018a2bf2ff53806e11.tar.bz2 qemu-45f33f01f359d6028ec4b4018a2bf2ff53806e11.zip |
Maintain the number of dirty pages
Calculate the number of dirty pages takes a lot on hosts with lots
of memory. Just maintain how many pages are dirty.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'cpu-all.h')
-rw-r--r-- | cpu-all.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -486,6 +486,7 @@ typedef struct RAMBlock { typedef struct RAMList { uint8_t *phys_dirty; QLIST_HEAD(, RAMBlock) blocks; + uint64_t dirty_pages; } RAMList; extern RAMList ram_list; |