aboutsummaryrefslogtreecommitdiff
path: root/qom
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2015-11-05 18:11:11 +0000
committerJuan Quintela <quintela@redhat.com>2015-11-10 15:00:27 +0100
commita71808772acbea54df8ebf3680f01884f7383198 (patch)
treee89cb8ac291fb6c82ff366991a7a8d1d0dff6488 /qom
parent696ed9a9b3fee2d033d7b049ba2e6568860a25d1 (diff)
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 <dgilbert@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'qom')
0 files changed, 0 insertions, 0 deletions