diff options
| author | Max Reitz | 2019-05-22 19:03:50 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2019-06-18 16:41:10 +0200 |
| commit | 9eab1544150229609d67e83f52e969ed0ec2c8a3 (patch) | |
| tree | 796e6f292f50a37627c3cf806c3961e33215b610 /scripts/switch-timer-api | |
| parent | block: Fix order in bdrv_replace_child() (diff) | |
| download | qemu-9eab1544150229609d67e83f52e969ed0ec2c8a3.tar.gz qemu-9eab1544150229609d67e83f52e969ed0ec2c8a3.tar.xz qemu-9eab1544150229609d67e83f52e969ed0ec2c8a3.zip | |
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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
