summaryrefslogtreecommitdiffstats
path: root/blockdev.c
diff options
context:
space:
mode:
authorKevin Wolf2017-02-09 13:34:18 +0100
committerKevin Wolf2017-02-28 20:47:50 +0100
commita170a91fd3eab6155da39e740381867e80bcc93e (patch)
tree2d89e721a563130bc7bc9e990654c64118cb753c /blockdev.c
parentmirror: Use real permissions in mirror/active commit block job (diff)
downloadqemu-a170a91fd3eab6155da39e740381867e80bcc93e.tar.gz
qemu-a170a91fd3eab6155da39e740381867e80bcc93e.tar.xz
qemu-a170a91fd3eab6155da39e740381867e80bcc93e.zip
stream: Use real permissions in streaming block job
The correct permissions are relatively obvious here (and explained in code comments). For intermediate streaming, we need to reopen the top node read-write before creating the job now because the permissions system catches attempts to get the BLK_PERM_WRITE_UNCHANGED permission on a read-only node. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Acked-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions