diff options
author | Fam Zheng | 2018-05-15 17:36:32 +0200 |
---|---|---|
committer | Kevin Wolf | 2019-02-01 13:46:44 +0100 |
commit | 3015372dd09642b911f48d942d1e27fc655b1f22 (patch) | |
tree | ad2e1a5206826dfe742bad1d82f363a10e75e998 /tests/test-qobject-output-visitor.c | |
parent | vmdk: Refactor vmdk_create_extent (diff) | |
download | qemu-3015372dd09642b911f48d942d1e27fc655b1f22.tar.gz qemu-3015372dd09642b911f48d942d1e27fc655b1f22.tar.xz qemu-3015372dd09642b911f48d942d1e27fc655b1f22.zip |
vmdk: Implement .bdrv_co_create callback
This makes VMDK support blockdev-create. The implementation reuses the
image creation code in vmdk_co_create_opts which now acceptes a callback
pointer to "retrieve" BlockBackend pointers from the caller. This way we
separate the logic between file/extent acquisition and initialization.
The QAPI command parameters are mostly the same as the old create_opts
except the dropped legacy @compat6 switch, which is redundant with
@hwversion.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/test-qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions