|author||Dr. David Alan Gilbert <email@example.com>||2015-11-05 18:11:11 +0000|
|committer||Juan Quintela <firstname.lastname@example.org>||2015-11-10 15:00:27 +0100|
Postcopy: Use helpers to map pages during migration
In postcopy, the destination guest is running at the same time as it's receiving pages; as we receive new pages we must put them into the guests address space atomically to avoid a running CPU accessing a partially written page. Use the helpers in postcopy-ram.c to map these pages. qemu_get_buffer_in_place is used to avoid a copy out of qemu_file in the case that postcopy is going to do a copy anyway. Signed-off-by: Dr. David Alan Gilbert <email@example.com> Reviewed-by: Juan Quintela <firstname.lastname@example.org> Signed-off-by: Juan Quintela <email@example.com>
Diffstat (limited to 'trace-events')
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index c493f5dc10..ad7afcb165 100644
@@ -1257,6 +1257,7 @@ get_queued_page_not_dirty(const char *block_name, uint64_t tmp_offset, uint64_t
migration_bitmap_sync_end(uint64_t dirty_pages) "dirty_pages %" PRIu64""
+ram_load_postcopy_loop(uint64_t addr, int flags) "@%" PRIx64 " %x"
ram_save_queue_pages(const char *rbname, size_t start, size_t len) "%s: start: %zx len: %zx"