]> git.proxmox.com Git - mirror_qemu.git/commit
migration: discard non-dirty ram pages after the start of postcopy
authorPavel Butsykin <pbutsykin@virtuozzo.com>
Fri, 3 Feb 2017 15:23:21 +0000 (18:23 +0300)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 13 Feb 2017 17:27:13 +0000 (17:27 +0000)
commitced1c6166ef901a91578d54ff39f46b3e7ae870f
tree42d4a017224beac9dfb2114b0cba52a2bf9d2960
parent53f09a1076f5efbba7d751a8005e2fcf008606db
migration: discard non-dirty ram pages after the start of postcopy

After the start of postcopy migration there are some non-dirty pages which have
already been migrated. These pages are no longer needed on the source vm so that
we can free them and it doen't hurt to complete the migration.

Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
Message-Id: <20170203152321.19739-4-pbutsykin@virtuozzo.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
include/migration/migration.h
migration/migration.c
migration/ram.c