aboutsummaryrefslogtreecommitdiffstats
path: root/migration/ram.c
diff options
context:
space:
mode:
authorWei Yang <richardw.yang@linux.intel.com>2019-08-19 14:18:43 +0800
committerDr. David Alan Gilbert <dgilbert@redhat.com>2019-09-25 15:51:19 +0100
commit64737606e8e54db28ac9dbfc10e175d267d2c8fb (patch)
tree8647315a7098960df24751e3030a45b587010fcf /migration/ram.c
parentmigration/postcopy: unsentmap is not necessary for postcopy (diff)
downloadqemu-64737606e8e54db28ac9dbfc10e175d267d2c8fb.tar.xz
qemu-64737606e8e54db28ac9dbfc10e175d267d2c8fb.zip
migration: remove sent parameter in get_queued_page_not_dirty
This is a cleanup for previous removal of unsentmap. The sent parameter is not necessary now. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190819061843.28642-4-richardw.yang@linux.intel.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/ram.c')
-rw-r--r--migration/ram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.c b/migration/ram.c
index a8b1aa2597..22423f08cd 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -2348,7 +2348,7 @@ static bool get_queued_page(RAMState *rs, PageSearchStatus *pss)
dirty = test_bit(page, block->bmap);
if (!dirty) {
trace_get_queued_page_not_dirty(block->idstr, (uint64_t)offset,
- page, test_bit(page, block->bmap));
+ page);
} else {
trace_get_queued_page(block->idstr, (uint64_t)offset, page);
}