qcow2: implement bdrv_invalidate_cache (v2)
authorAnthony Liguori <aliguori@us.ibm.com>
Mon, 14 Nov 2011 21:09:46 +0000 (15:09 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 21 Nov 2011 20:58:48 +0000 (14:58 -0600)
commit06d9260ffa9dfa0e96e015501e43480ab66f96f6
tree9bdc46875d7d17cd87c615e87486675450084c78
parent0f15423c3234335ca0dbeeae6d19db4699faca07
qcow2: implement bdrv_invalidate_cache (v2)

We don't reopen the actual file, but instead invoke the close and open routines.
We specifically ignore the backing file since it's contents are read-only and
therefore immutable.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/qcow2.c
block/qcow2.h