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)
commit81d491d301f812b07d7636640a910513660c6f9e
tree9bdc46875d7d17cd87c615e87486675450084c78
parentc18dbbb515d341d9147fa66decaefdfa55cf697c
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