aboutsummaryrefslogtreecommitdiff
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-05-22 19:03:50 +0200
committerKevin Wolf <kwolf@redhat.com>2019-06-18 16:41:10 +0200
commit9eab1544150229609d67e83f52e969ed0ec2c8a3 (patch)
tree796e6f292f50a37627c3cf806c3961e33215b610 /qemu-io-cmds.c
parent87ace5f8b6cbb9be14cf771a8962e32fd97f9660 (diff)
block: Add *tighten_restrictions to *check*_perm()
This patch makes three functions report whether the necessary permission change tightens restrictions or not. These functions are: - bdrv_check_perm() - bdrv_check_update_perm() - bdrv_child_check_perm() Callers can use this result to decide whether a failure is fatal or not (see the next patch). Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions