summary refs log tree commit diff stats
path: root/python
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2018-05-15 23:36:31 +0800
committerKevin Wolf <kwolf@redhat.com>2019-02-01 13:46:44 +0100
commit5be28490cad988c3882054fc02e87a40a94863f7 (patch)
tree0b2e9883e1bb844aab3009a46334ac06e30da4ed /python
parent9a378495c3cde80aba9299ceab55338d7e78691d (diff)
downloadfocaccia-qemu-5be28490cad988c3882054fc02e87a40a94863f7.tar.gz
focaccia-qemu-5be28490cad988c3882054fc02e87a40a94863f7.zip
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 'python')
0 files changed, 0 insertions, 0 deletions