]> git.proxmox.com Git - mirror_qemu.git/commit
migration/multifd: clean pages after filling packet
authorWei Yang <richardw.yang@linux.intel.com>
Fri, 25 Oct 2019 23:19:59 +0000 (07:19 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 20 Jan 2020 08:10:23 +0000 (09:10 +0100)
commiteab54aa78ffd9fb7895b20fc2761ee998479489b
tree5f50e11218af82fcf75e4539a9a4eb4236b9af0e
parent644acf99b8cb8437f65600cf00c2e090bf3e3bc2
migration/multifd: clean pages after filling packet

This is a preparation for the next patch:

    not use multifd during postcopy.

Without enabling postcopy, everything looks good. While after enabling
postcopy, migration may fail even not use multifd during postcopy. The
reason is the pages is not properly cleared and *old* target page will
continue to be transferred.

After clean pages, migration succeeds.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c