On 28.02.2017 13:54, Kevin Wolf wrote: > 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 <kw...@redhat.com> > --- > hw/block/block.c | 22 +++++++++++++++++++++- > hw/block/fdc.c | 25 +++++++++++++++++++++++-- > hw/block/m25p80.c | 8 ++++++++ > hw/block/nand.c | 7 +++++++ > hw/block/nvme.c | 8 +++++++- > hw/block/onenand.c | 7 +++++++ > hw/block/pflash_cfi01.c | 18 ++++++++++++------ > hw/block/pflash_cfi02.c | 19 +++++++++++++------ > hw/block/virtio-blk.c | 8 +++++++- > hw/core/qdev-properties-system.c | 1 - > hw/ide/qdev.c | 8 ++++++-- > hw/nvram/spapr_nvram.c | 8 ++++++++ > hw/scsi/scsi-disk.c | 9 +++++++-- > hw/sd/sd.c | 6 ++++++ > hw/usb/dev-storage.c | 6 +++++- > include/hw/block/block.h | 3 ++- > tests/qemu-iotests/051.pc.out | 6 +++--- > 17 files changed, 142 insertions(+), 27 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature