qemu/include/migration
Peter Lieven f1c72795af migration: do not sent zero pages in bulk stage
during bulk stage of ram migration if a page is a
zero page do not send it at all.
the memory at the destination reads as zero anyway.

even if there is an madvise with QEMU_MADV_DONTNEED
at the target upon receipt of a zero page I have observed
that the target starts swapping if the memory is overcommitted.
it seems that the pages are dropped asynchronously.

this patch also updates QMP to return the number of
skipped pages in MigrationStats.

Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2013-03-26 13:32:33 +01:00
..
block.h
migration.h migration: do not sent zero pages in bulk stage 2013-03-26 13:32:33 +01:00
page_cache.h page_cache: dup memory on insert 2013-03-11 13:32:03 +01:00
qemu-file.h migration: move rate limiting to QEMUFile 2013-03-11 13:32:02 +01:00
vmstate.h savevm: Fix bugs in the VMSTATE_VBUFFER_MULTIPLY definition 2013-03-26 13:30:49 +01:00