]> git.proxmox.com Git - mirror_qemu.git/commit - migration/ram.c
migration: Add an ability to ignore shared RAM blocks
authorYury Kotov <yury-kotov@yandex-team.ru>
Fri, 15 Feb 2019 17:45:46 +0000 (20:45 +0300)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 6 Mar 2019 10:49:17 +0000 (10:49 +0000)
commitfbd162e629aaf8a7e464af44d2f73d06b26428ad
tree510443c69efb40fde16b859dba745584a453aeed
parent18269069c31089c3b42ef78ddffe1ee5799e2708
migration: Add an ability to ignore shared RAM blocks

If ignore-shared capability is set then skip shared RAMBlocks during the
RAM migration.
Also, move qemu_ram_foreach_migratable_block (and rename) to the
migration code, because it requires access to the migration capabilities.

Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>
Message-Id: <20190215174548.2630-4-yury-kotov@yandex-team.ru>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
exec.c
include/exec/cpu-common.h
migration/migration.h
migration/postcopy-ram.c
migration/ram.c
migration/rdma.c