summaryrefslogtreecommitdiffstats
path: root/block/file-posix.c
diff options
context:
space:
mode:
authorKevin Wolf2017-05-04 18:52:40 +0200
committerKevin Wolf2017-05-11 12:08:24 +0200
commit9c5e6594f15b7364624a3ad40306c396c93a2145 (patch)
tree61a8a8ad77a1ff3f54a091098070e56df04dc122 /block/file-posix.c
parentblock: Inactivate parents before children (diff)
downloadqemu-9c5e6594f15b7364624a3ad40306c396c93a2145.tar.gz
qemu-9c5e6594f15b7364624a3ad40306c396c93a2145.tar.xz
qemu-9c5e6594f15b7364624a3ad40306c396c93a2145.zip
block: Fix write/resize permissions for inactive images
Format drivers for inactive nodes don't need write/resize permissions on their bs->file and can share write/resize with another VM (in fact, this is the whole point of keeping images inactive). Represent this fact in the op blocker system, so that image locking does the right thing without special-casing inactive images. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block/file-posix.c')
0 files changed, 0 insertions, 0 deletions