qemu-e2k/block
Max Reitz 500e243420 raw-format: Split raw_read_options()
Split raw_read_options() into one function that actually just reads the
options, and another that applies them.  This will allow us to detect
whether the user has specified any options before attaching the file
child (so we can decide on its role based on the options).

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200513110544.176672-21-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2020-05-18 19:05:25 +02:00
..
monitor
accounting.c
aio_task.c
backup-top.c block: Pass BdrvChildRole to bdrv_child_perm() 2020-05-18 19:05:25 +02:00
backup-top.h
backup.c backup: Make sure that source and target size match 2020-05-08 13:26:35 +02:00
blkdebug.c block: Pass BdrvChildRole to bdrv_child_perm() 2020-05-18 19:05:25 +02:00
blklogwrites.c block: Pass BdrvChildRole to bdrv_child_perm() 2020-05-18 19:05:25 +02:00
blkreplay.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
blkverify.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
block-backend.c block: Pass parent_is_format to .inherit_options() 2020-05-18 19:05:25 +02:00
block-copy.c block/block-copy: fix use-after-free of task pointer 2020-05-13 14:20:31 +02:00
bochs.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
cloop.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
commit.c block: Pass BdrvChildRole to bdrv_child_perm() 2020-05-18 19:05:25 +02:00
copy-on-read.c block: Pass BdrvChildRole to bdrv_child_perm() 2020-05-18 19:05:25 +02:00
create.c
crypto.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
crypto.h
curl.c
dirty-bitmap.c
dmg-bz2.c
dmg-lzfse.c
dmg.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
dmg.h
file-posix.c block: Drop unused .bdrv_has_zero_init_truncate 2020-05-08 13:26:35 +02:00
file-win32.c block: Drop unused .bdrv_has_zero_init_truncate 2020-05-08 13:26:35 +02:00
filter-compress.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
gluster.c gluster: Drop useless has_zero_init callback 2020-05-08 13:26:35 +02:00
io_uring.c
io.c block: Rename BdrvChildRole to BdrvChildClass 2020-05-18 19:05:25 +02:00
iscsi-opts.c
iscsi.c lockable: replaced locks with lock guard macros where appropriate 2020-05-04 16:07:43 +01:00
linux-aio.c
Makefile.objs
mirror.c block: Pass BdrvChildRole to bdrv_child_perm() 2020-05-18 19:05:25 +02:00
nbd.c block/nbd-client: drop max_block restriction from discard 2020-05-04 15:16:46 -05:00
nfs.c block: Drop unused .bdrv_has_zero_init_truncate 2020-05-08 13:26:35 +02:00
null.c
nvme.c Compress lines for immediate return 2020-05-04 14:43:22 +02:00
parallels.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
parallels.h
qapi-sysemu.c
qapi.c
qcow2-bitmap.c
qcow2-cache.c
qcow2-cluster.c qcow2: Support BDRV_REQ_ZERO_WRITE for truncate 2020-04-30 17:51:07 +02:00
qcow2-refcount.c block: Comment cleanups 2020-05-05 13:17:36 +02:00
qcow2-snapshot.c qcow2: Allow resize of images with internal snapshots 2020-05-05 13:17:36 +02:00
qcow2-threads.c qcow2: add zstd cluster compression 2020-05-13 14:20:31 +02:00
qcow2.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
qcow2.h qcow2: introduce compression type feature 2020-05-13 14:20:31 +02:00
qcow.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
qed-check.c
qed-cluster.c
qed-l2-cache.c
qed-table.c
qed.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
qed.h
quorum.c block: Pass BdrvChildRole to bdrv_child_perm() 2020-05-18 19:05:25 +02:00
raw-format.c raw-format: Split raw_read_options() 2020-05-18 19:05:25 +02:00
rbd.c block: Drop unused .bdrv_has_zero_init_truncate 2020-05-08 13:26:35 +02:00
replication.c block: Pass BdrvChildRole to bdrv_child_perm() 2020-05-18 19:05:25 +02:00
sheepdog.c block: Drop unused .bdrv_has_zero_init_truncate 2020-05-08 13:26:35 +02:00
snapshot.c
ssh.c block: Drop unused .bdrv_has_zero_init_truncate 2020-05-08 13:26:35 +02:00
stream.c
throttle-groups.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
throttle.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
trace-events
vdi.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
vhdx-endian.c
vhdx-log.c block: Add flags to bdrv(_co)_truncate() 2020-04-30 17:51:07 +02:00
vhdx.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
vhdx.h
vmdk.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
vpc.c block: Add BdrvChildRole to BdrvChild 2020-05-18 19:05:25 +02:00
vvfat.c block: Pass parent_is_format to .inherit_options() 2020-05-18 19:05:25 +02:00
vxhs.c
win32-aio.c
write-threshold.c