summaryrefslogtreecommitdiffstats
path: root/scripts/make-release
diff options
context:
space:
mode:
authorPaolo Bonzini2015-03-25 15:21:39 +0100
committerPaolo Bonzini2015-06-05 17:10:00 +0200
commite87f7778b64d4a6a78e16c288c7fdc6c15317d5f (patch)
treed246cf453fbddd2831d628f4217a34e65f9274fc /scripts/make-release
parentexec: invert return value of cpu_physical_memory_get_clean, rename (diff)
downloadqemu-e87f7778b64d4a6a78e16c288c7fdc6c15317d5f.tar.gz
qemu-e87f7778b64d4a6a78e16c288c7fdc6c15317d5f.tar.xz
qemu-e87f7778b64d4a6a78e16c288c7fdc6c15317d5f.zip
exec: only check relevant bitmaps for cleanliness
Most of the time, not all bitmaps have to be marked as dirty; do not do anything if the interesting ones are already dirty. Previously, any clean bitmap would have cause all the bitmaps to be marked dirty. In fact, unless running TCG most of the time bitmap operations need not be done at all, because memory_region_is_logging returns zero. In this case, skip the call to cpu_physical_memory_range_includes_clean altogether as well. With this patch, cpu_physical_memory_set_dirty_range is called unconditionally, so there need not be anymore a separate call to xen_modified_memory. Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/make-release')
0 files changed, 0 insertions, 0 deletions