diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-03-11 15:15:03 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-03-13 14:42:24 +0100 |
commit | 27eb6c097c132bf9fc49d73554b0160293b630cd (patch) | |
tree | b3dac7c354bc8f8f2fa115ff5fa7e467617c02b2 /scripts/kvm | |
parent | d475e5acd2f4679d6ce458369ee658dbd60227e9 (diff) | |
download | qemu-27eb6c097c132bf9fc49d73554b0160293b630cd.zip qemu-27eb6c097c132bf9fc49d73554b0160293b630cd.tar.gz qemu-27eb6c097c132bf9fc49d73554b0160293b630cd.tar.bz2 |
qcow2: Don't write with BDRV_O_INCOMING
qcow2_open() causes writes when repairing an image with the dirty flag
set and when clearing autoclear flags. It shouldn't do this when another
qemu instance is still actively working on this image file.
One effect of the bug is that images may have a cleared dirty flag while
the migration source host still has it in use with lazy refcounts
enabled, so refcounts are not accurate and the dirty flag must remain
set.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/kvm')
0 files changed, 0 insertions, 0 deletions