]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: introduce new dirty bitmap functionality
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Oct 2012 14:49:18 +0000 (16:49 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 24 Oct 2012 08:26:19 +0000 (10:26 +0200)
commit1755da16e32c15b22a521e8a38539e4b5cf367f3
tree5990c65a246cb189f0f44b2a7452e409fa646f56
parent9156df12a4f3b3db63d1b292d081d814f02e311a
block: introduce new dirty bitmap functionality

Assert that write_compressed is never used with the dirty bitmap.
Setting the bits early is wrong, because a coroutine might concurrently
examine them and copy incomplete data from the source.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block.h