qemu/include
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 block: Allow omitting the file name when using driver-specific options 2013-03-22 17:51:32 +01:00
bt softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
char char: Fix return type of qemu_chr_fe_add_watch() 2013-03-19 07:56:07 -05:00
disas Add moxie disassembler 2013-03-23 14:25:41 +00:00
exec cpu: Pass CPUState to cpu_interrupt() 2013-03-12 10:35:55 +01:00
fpu softfloat: Implement uint64_to_float128 2013-01-05 10:12:50 +00:00
migration migration: do not sent zero pages in bulk stage 2013-03-26 13:32:33 +01:00
monitor hw: move qdev-monitor.o to toplevel directory 2013-03-01 13:54:10 +01:00
net net: increase buffer size to accommodate Jumbo frame pkts 2013-03-25 11:14:07 +01:00
qapi Add qdict_clone_shallow() 2013-03-15 16:07:49 +01:00
qemu nbd: Keep hostname and port separate 2013-03-22 17:51:31 +01:00
qom Fix typos and misspellings 2013-03-22 13:25:07 +01:00
sysemu Add sample moxie system 2013-03-23 14:25:41 +00:00
tpm Support for TPM command line options 2013-03-12 13:40:11 -05:00
ui console: remove ds_get_* helper functions 2013-03-18 10:21:59 +01:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
glib-compat.h glib: add a compatibility interface for g_timeout_add_seconds 2013-03-25 13:10:40 -05:00
libfdt_env.h fdt: Use bswapN instead of bswap_N 2013-01-12 12:22:58 +00:00
qemu-common.h cutils: add a function to find non-zero content in a buffer 2013-03-26 13:32:28 +01:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00