summaryrefslogtreecommitdiffstats
path: root/util/rcu.c
diff options
context:
space:
mode:
authorKevin Wolf2017-08-03 17:02:59 +0200
committerKevin Wolf2017-08-08 15:19:16 +0200
commitfd4520212bd4fc9c86db4ccd4d9c3d612e8e58f9 (patch)
treea51eb26f6950bb99f31a58048be3fb943526fb72 /util/rcu.c
parentblock: Allow reopen rw without BDRV_O_ALLOW_RDWR (diff)
downloadqemu-fd4520212bd4fc9c86db4ccd4d9c3d612e8e58f9.tar.gz
qemu-fd4520212bd4fc9c86db4ccd4d9c3d612e8e58f9.tar.xz
qemu-fd4520212bd4fc9c86db4ccd4d9c3d612e8e58f9.zip
block: Set BDRV_O_ALLOW_RDWR during rw reopen
Reopening an image should be consistent with opening it, so we should set BDRV_O_ALLOW_RDWR for any image that is reopened read-write like in bdrv_open_inherit(). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'util/rcu.c')
0 files changed, 0 insertions, 0 deletions