[Qemu-devel] [PATCH 6/7] qcow2: implement bdrv_invalidate_cache

2011-11-12 Thread Anthony Liguori
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 --- block/qcow2.c | 19 +++ block/qcow2.h |2 ++ 2 files change

[Qemu-devel] [PATCH 6/7] qcow2: implement bdrv_invalidate_cache

2011-11-12 Thread Anthony Liguori
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 --- block/qcow2.c | 19 +++ block/qcow2.h |2 ++ 2 files change