qcow2: store bitmaps on reopening image as read-only
commit169b87935966791a860f59a2b17c4e0c7b953779
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Wed, 28 Jun 2017 12:05:20 +0000 (28 15:05 +0300)
committerMax Reitz <mreitz@redhat.com>
Tue, 11 Jul 2017 15:44:58 +0000 (11 17:44 +0200)
tree2c76d00277ffe3d6b651737e7113b9530f117a9f
parent5f72826e7fc62167cf3a37383d1c1151bc9971fe
qcow2: store bitmaps on reopening image as read-only

Store bitmaps and mark them read-only on reopening image as read-only.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20170628120530.31251-21-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-bitmap.c
block/qcow2.c
block/qcow2.h