commit | fc27291dafbb5ae39dfc43f22cae867d442ac5ab | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Dec 23 11:48:24 2015 +0100 |
committer | Max Reitz <mreitz@redhat.com> | Thu Jan 07 21:30:17 2016 +0100 |
tree | 0c441f02a0dc10c8394e1655cb07823421a3ff62 | |
parent | 7467d94cc43d3bea91160dba6ad42c07da217219 [diff] |
block: use drained section in bdrv_close bdrv_close is used when ejecting a medium. Use a drained section to ensure that all I/O goes to either the old medium or the bitbucket. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1450867706-19860-2-git-send-email-pbonzini@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>