]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ide/qdev.c
hw/block: Request permissions
authorKevin Wolf <kwolf@redhat.com>
Tue, 24 Jan 2017 12:43:31 +0000 (13:43 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:40:36 +0000 (20:40 +0100)
commita17c17a274f24f0c0259f89d288f29b8ce0511aa
tree592723a71539dd34bdb76b7fe74f9898be7dcb90
parent39829a01ae524788c68dc0794e6912faa898eb75
hw/block: Request permissions

This makes all device emulations with a qdev drive property request
permissions on their BlockBackend. The only thing we block at this point
is resizing images for some devices that can't support it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
17 files changed:
hw/block/block.c
hw/block/fdc.c
hw/block/m25p80.c
hw/block/nand.c
hw/block/nvme.c
hw/block/onenand.c
hw/block/pflash_cfi01.c
hw/block/pflash_cfi02.c
hw/block/virtio-blk.c
hw/core/qdev-properties-system.c
hw/ide/qdev.c
hw/nvram/spapr_nvram.c
hw/scsi/scsi-disk.c
hw/sd/sd.c
hw/usb/dev-storage.c
include/hw/block/block.h
tests/qemu-iotests/051.pc.out