]> git.proxmox.com Git - qemu.git/commit - block.c
block: do not reuse the backing file across bdrv_close/bdrv_open
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 May 2012 14:51:43 +0000 (16:51 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 10 May 2012 08:32:12 +0000 (10:32 +0200)
commita275fa42fa872828585e9e6a92f975e87776554b
tree353f0557791d7203d9587e291a65c5277a6606bf
parent3a389e7926750cba5c83f662b1941888b2bebc04
block: do not reuse the backing file across bdrv_close/bdrv_open

This is another bug caused by not doing a full cleanup of the BDS
across close/open.  This was found with mirroring by Shaolong Hu,
but it can probably be reproduced also with eject or change.

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