]> git.proxmox.com Git - mirror_qemu.git/commit - migration/block.c
migration/block: reset dirty bitmap before reading
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Jun 2017 12:39:04 +0000 (14:39 +0200)
committerFam Zheng <famz@redhat.com>
Thu, 15 Jun 2017 23:55:00 +0000 (07:55 +0800)
commitc0bad49946287ef218e871608b753b9991f6e54c
tree4fd4c9821a88147f939e5d1acc29a30b952ec568
parent2119882c7eb7e2c612b24fc0c8d86f5887d6f1c3
migration/block: reset dirty bitmap before reading

Any data that is returned by read may be stale already, the bitmap
has to be cleared before issuing the read.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20170605123908.18777-16-pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
migration/block.c