]> git.proxmox.com Git - mirror_qemu.git/commit - block/vmdk.c
block: Request child permissions in format drivers
authorKevin Wolf <kwolf@redhat.com>
Mon, 19 Dec 2016 15:36:02 +0000 (16:36 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:40:36 +0000 (20:40 +0100)
commit862f215fabf31c80c953155fcb223fea5320bbdf
tree19a6fb7d20f99eef9de1e61b49d403688f1b492a
parent6b1a044afb363f03b51c9d0218bef44a34ea98c3
block: Request child permissions in format drivers

This makes use of the .bdrv_child_perm() implementation for formats that
we just added. All format drivers expose the permissions they actually
need nows, so that they can be set accordingly and updated when parents
are attached or detached.

The only format not included here is raw, which was already converted
with the other filter drivers.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
12 files changed:
block/bochs.c
block/cloop.c
block/crypto.c
block/dmg.c
block/parallels.c
block/qcow.c
block/qcow2.c
block/qed.c
block/vdi.c
block/vhdx.c
block/vmdk.c
block/vpc.c