]> git.proxmox.com Git - mirror_qemu.git/commit - block/stream.c
blockjob: Add permissions to block_job_add_bdrv()
authorKevin Wolf <kwolf@redhat.com>
Tue, 17 Jan 2017 10:56:42 +0000 (11:56 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:40:37 +0000 (20:40 +0100)
commit76d554e20bd0a965ac22d6155a129be12fac2667
treedd9e34a6339d8cebb1c60a51782cb6ae84490dcd
parent26de9438c1b6013532fb95de0720e2696588332f
blockjob: Add permissions to block_job_add_bdrv()

Block jobs don't actually do I/O through the the reference they create
with block_job_add_bdrv(), but they might want to use the permisssion
system to express what the block job does to intermediate nodes. This
adds permissions to block_job_add_bdrv() to provide the means to request
permissions.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
block/backup.c
block/commit.c
block/mirror.c
block/stream.c
blockjob.c
include/block/blockjob.h