qemu-e2k/hw/block
Kevin Wolf 39829a01ae block: Allow error return in BlockDevOps.change_media_cb()
Some devices allow a media change between read-only and read-write
media. They need to adapt the permissions in their .change_media_cb()
implementation, which can fail. So add an Error parameter to the
function.

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
..
dataplane virtio: Report real progress in VQ aio poll handler 2017-02-17 21:52:30 +02:00
block.c block/qdev: Allow configuring rerror/werror with qdev properties 2016-07-13 13:32:27 +02:00
cdrom.c
ecc.c
fdc.c block: Allow error return in BlockDevOps.change_media_cb() 2017-02-28 20:40:36 +01:00
hd-geometry.c qemu-common: stop including qemu/bswap.h from qemu-common.h 2016-05-19 16:42:28 +02:00
m25p80.c hw/block/m25p80: Fix typo in local macro name 2017-01-24 23:26:52 +03:00
Makefile.objs
nand.c nand: Switch to byte-based block access 2016-05-12 15:22:09 +02:00
nvme.c pci: Convert msix_init() to Error and fix callers 2017-02-01 03:37:18 +02:00
nvme.h util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
onenand.c onenand: Switch to byte-based block access 2016-05-12 15:22:09 +02:00
pflash_cfi01.c pflash_cfi01: fix per-device sector length in CFI table 2017-01-27 15:20:22 +00:00
pflash_cfi02.c hw/block/pflash_cfi*.c: fix confusing assert fail message 2016-12-22 16:00:26 +01:00
tc58128.c block: Use DIV_ROUND_UP 2016-06-07 18:19:24 +03:00
trace-events trace: move hw/block/dataplane events to correct subdir 2017-01-31 17:11:17 +00:00
virtio-blk.c block: explicitly acquire aiocontext in aio callbacks that need it 2017-02-21 11:39:39 +00:00
xen_blkif.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
xen_disk.c xen_disk: split discard input to match internal representation 2016-11-23 10:47:48 -08:00