commit | ec6d891224f708b2cda2a1edf68ffc0ff1316fca | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Tue Dec 22 16:04:57 2015 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Jan 20 13:36:23 2016 +0100 |
tree | 94b6d9d9aef27bccda744a04ce0dc58bb7e786f5 | |
parent | 76b1c7fe1cbc45f46b2cccd471369ccd4b49b6fd [diff] |
qcow2: Implement .bdrv_inactivate The callback has to ensure that closing or flushing the image afterwards wouldn't cause a write access to the image files. This means that just the caches have to be written out, which is part of the existing .bdrv_close implementation. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>