]> git.proxmox.com Git - mirror_qemu.git/commit
add 'release-ram' migrate capability
authorPavel Butsykin <pbutsykin@virtuozzo.com>
Fri, 3 Feb 2017 15:23:20 +0000 (18:23 +0300)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 13 Feb 2017 17:27:13 +0000 (17:27 +0000)
commit53f09a1076f5efbba7d751a8005e2fcf008606db
tree1f4f0cd62537a1f1b50ca73fcba8fb3ee7a272d0
parent9eb14766102b7af5c3ab3d64cc85985bdaa544e2
add 'release-ram' migrate capability

This feature frees the migrated memory on the source during postcopy-ram
migration. In the second step of postcopy-ram migration when the source vm
is put on pause we can free unnecessary memory. It will allow, in particular,
to start relaxing the memory stress on the source host in a load-balancing
scenario.

Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
Message-Id: <20170203152321.19739-3-pbutsykin@virtuozzo.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
   Manually merged in Pavel's 'migration: madvise error_report fixup!'
include/migration/migration.h
include/migration/qemu-file.h
migration/migration.c
migration/qemu-file.c
migration/ram.c
qapi-schema.json