diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-14 15:09:46 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-21 14:58:48 -0600 |
commit | 06d9260ffa9dfa0e96e015501e43480ab66f96f6 (patch) | |
tree | 9bdc46875d7d17cd87c615e87486675450084c78 /block/qcow2.h | |
parent | 0f15423c3234335ca0dbeeae6d19db4699faca07 (diff) | |
download | qemu-06d9260ffa9dfa0e96e015501e43480ab66f96f6.zip qemu-06d9260ffa9dfa0e96e015501e43480ab66f96f6.tar.gz qemu-06d9260ffa9dfa0e96e015501e43480ab66f96f6.tar.bz2 |
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>
Diffstat (limited to 'block/qcow2.h')
-rw-r--r-- | block/qcow2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/qcow2.h b/block/qcow2.h index 531af39..4e44eea 100644 --- a/block/qcow2.h +++ b/block/qcow2.h @@ -125,6 +125,8 @@ typedef struct BDRVQcowState { int snapshots_size; int nb_snapshots; QCowSnapshot *snapshots; + + int flags; } BDRVQcowState; /* XXX: use std qcow open function ? */ |