qemu-e2k/hw/scsi
Kevin Wolf 6d0eb64d5c block: Add permissions to blk_new()
We want every user to be specific about the permissions it needs, so
we'll pass the initial permissions as parameters to blk_new(). A user
only needs to call blk_set_perm() if it wants to change the permissions
after the fact.

The permissions are stored in the BlockBackend and applied whenever a
BlockDriverState should be attached in blk_insert_bs().

This does not include actually choosing the right set of permissions
everywhere yet. Instead, the usual FIXME comment is added to each place
and will be addressed in individual patches.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
2017-02-28 20:40:36 +01:00
..
Makefile.objs hw: Add support for LSI SAS1068 (mptsas) device 2016-02-09 15:45:26 +01:00
esp-pci.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
esp.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
lsi53c895a.c hw: Deprecate -drive if=scsi with non-onboard HBAs 2017-02-21 13:17:45 +01:00
megasas.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
mfi.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
mpi.h hw: Add support for LSI SAS1068 (mptsas) device 2016-02-09 15:45:26 +01:00
mptconfig.c scsi: mptconfig: fix misuse of MPTSAS_CONFIG_PACK 2016-09-13 19:08:46 +02:00
mptendian.c hw: Add support for LSI SAS1068 (mptsas) device 2016-02-09 15:45:26 +01:00
mptsas.c hw/scsi: Concentrate -drive if=scsi auto-create in one place 2017-02-21 13:17:45 +01:00
mptsas.h mptsas: really fix migration compatibility 2016-08-03 18:44:56 +02:00
scsi-bus.c Changes to -drive without if= and with if=scsi 2017-02-21 13:58:50 +00:00
scsi-disk.c block: Add permissions to blk_new() 2017-02-28 20:40:36 +01:00
scsi-generic.c block: explicitly acquire aiocontext in aio callbacks that need it 2017-02-21 11:39:39 +00:00
spapr_vscsi.c hw: Deprecate -drive if=scsi with non-onboard HBAs 2017-02-21 13:17:45 +01:00
srp.h spapr-vscsi: add task management 2013-09-12 08:46:21 +02:00
trace-events spapr_vscsi: fix build error introduced by f19661c8 2016-10-05 11:05:28 +11:00
vhost-scsi.c migration: disallow migrate_add_blocker during migration 2017-01-24 18:00:30 +00:00
viosrp.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
virtio-scsi-dataplane.c virtio: Report real progress in VQ aio poll handler 2017-02-17 21:52:30 +02:00
virtio-scsi.c Changes to -drive without if= and with if=scsi 2017-02-21 13:58:50 +00:00
vmw_pvscsi.c PCI/migration merge vmstate_pci_device and vmstate_pcie_device 2017-01-24 18:00:31 +00:00
vmw_pvscsi.h scsi: VMWare PVSCSI paravirtual device implementation 2013-04-19 10:44:17 +02:00