On Thu, Apr 12, 2012 at 4:01 PM, Kevin Wolf <kw...@redhat.com> wrote: > This changes the still existing places that assume that the only flags > are QCOW_OFLAG_COPIED and QCOW_OFLAG_COMPRESSED to properly mask out > reserved bits. > > It does not convert bdrv_check yet. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > block/qcow2-cluster.c | 26 +++++++++++++------------- > block/qcow2-refcount.c | 12 ++++++------ > 2 files changed, 19 insertions(+), 19 deletions(-)
It would be interesting to run a test case where we artifically set a reserved bit to gain confidence that no important codepath has been missed. Thoughts? Stefan