diff options
author | Fam Zheng <famz@redhat.com> | 2018-05-15 23:36:31 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-02-01 13:46:44 +0100 |
commit | 5be28490cad988c3882054fc02e87a40a94863f7 (patch) | |
tree | 0b2e9883e1bb844aab3009a46334ac06e30da4ed /qapi/qobject-input-visitor.c | |
parent | 9a378495c3cde80aba9299ceab55338d7e78691d (diff) |
vmdk: Refactor vmdk_create_extent
The extracted vmdk_init_extent takes a BlockBackend object and
initializes the format metadata. It is the common part between "qemu-img
create" and "blockdev-create".
Add a "BlockBackend *pbb" parameter to vmdk_create_extent, to return the
opened BB to the caller in the next patch.
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 'qapi/qobject-input-visitor.c')
0 files changed, 0 insertions, 0 deletions