qemu-e2k/include
Maxim Levitsky 5a5e7f8cd8 block: trickle down the fallback image creation function use to the block drivers
Instead of checking the .bdrv_co_create_opts to see if we need the
fallback, just implement the .bdrv_co_create_opts in the drivers that
need it.

This way we don't break various places that need to know if the
underlying protocol/format really supports image creation, and this way
we still allow some drivers to not support image creation.

Fixes: fd17146cd9
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1816007

Note that technically this driver reverts the image creation fallback
for the vxhs driver since I don't have a means to test it, and IMHO it
is better to leave it not supported as it was prior to generic image
creation patches.

Also drop iscsi_create_opts which was left accidentally.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20200326011218.29230-3-mlevitsk@redhat.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
[mreitz: Fixed alignment, and moved bdrv_co_create_opts_simple() and
         bdrv_create_opts_simple from block.h into block_int.h]
Signed-off-by: Max Reitz <mreitz@redhat.com>
2020-03-26 14:44:33 +01:00
..
authz
block block: trickle down the fallback image creation function use to the block drivers 2020-03-26 14:44:33 +01:00
chardev
crypto luks: extract qcrypto_block_calculate_payload_offset() 2020-03-11 12:42:29 +01:00
disas target/rx: RX disassembler 2020-03-19 17:58:05 +01:00
exec Add rx-softmmu 2020-03-19 17:58:05 +01:00
fpu
hw hw/arm/bcm283x: Correct the license text 2020-03-23 17:22:30 +00:00
io
libdecnumber
migration
monitor monitor/hmp: move hmp_info_block* to block-hmp-cmds.c 2020-03-09 18:20:21 +00:00
net net: Track netdevs in NetClientState rather than QemuOpt 2020-03-17 21:50:36 +01:00
qapi qmp: constify QmpCommand and list 2020-03-17 21:43:12 +01:00
qemu block/dirty-bitmap: improve _next_dirty_area API 2020-03-18 14:03:46 -04:00
qom qom/object: enable setter for uint types 2020-03-16 23:02:23 +01:00
scsi
standard-headers
sysemu Add rx-softmmu 2020-03-19 17:58:05 +01:00
tcg misc: Replace zero-length arrays with flexible array member (automatic) 2020-03-16 22:07:42 +01:00
ui
user
elf.h
glib-compat.h
qemu-common.h Update copyright date for user-facing copyright strings 2020-03-22 11:16:21 +00:00
qemu-io.h
trace-tcg.h