[libvirt] [PATCH 4/4] qemu: block: Split up qemuBlockStorageSourceAttachApply

Ján Tomko jtomko at redhat.com
Fri Jul 12 11:39:48 UTC 2019


On Thu, Jul 11, 2019 at 04:56:05PM +0200, Peter Krempa wrote:
>Split up the addition of a storage source into the following sub-steps:
>1) storage access dependancies (TLS transport, persistent reservation)

dependencies

>2) storage acccess node (file/gluster/nbd...)
>3) format driver dependancies (encryption secret)

dependencies

>4) format driver node (qcow2, raw, ...)
>
>The functions split out will be later reused when implementing support
>for 'blockdev-create' as we'll need the dependancies plugged in first,

dependencies

>then blockdev-create will be called and after that successfully finishes
>blockdev-add will be added.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_block.c | 86 +++++++++++++++++++++++++++++++------------
> 1 file changed, 63 insertions(+), 23 deletions(-)
>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190712/c99bfbee/attachment-0001.sig>


More information about the libvir-list mailing list