aboutsummaryrefslogtreecommitdiff
path: root/qemu-img.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-02-09 13:34:18 +0100
committerKevin Wolf <kwolf@redhat.com>2017-02-28 20:47:50 +0100
commita170a91fd3eab6155da39e740381867e80bcc93e (patch)
tree2d89e721a563130bc7bc9e990654c64118cb753c /qemu-img.c
parent4ef85a9c233936d9ac1400d67b066353a6e9f32f (diff)
downloadqemu-a170a91fd3eab6155da39e740381867e80bcc93e.zip
qemu-a170a91fd3eab6155da39e740381867e80bcc93e.tar.gz
qemu-a170a91fd3eab6155da39e740381867e80bcc93e.tar.bz2
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 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions