[libvirt] [PATCH 21/38] qemu: domain: Separate setup of TLS for VXHS disks from qemuDomainPrepareDiskSourceTLS

Ján Tomko jtomko at redhat.com
Wed May 30 17:01:46 UTC 2018


On Wed, May 30, 2018 at 02:41:17PM +0200, Peter Krempa wrote:
>Split out the code into a separate function so that all steps for a
>storage protocol are contained and the original function is easily
>extendable.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_domain.c | 51 ++++++++++++++++++++++++++++----------------------
> 1 file changed, 29 insertions(+), 22 deletions(-)
>
>diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
>index 15c2e28604..a4499e7916 100644
>--- a/src/qemu/qemu_domain.c
>+++ b/src/qemu/qemu_domain.c
>@@ -9911,6 +9911,32 @@ qemuDomainPrepareChardevSource(virDomainDefPtr def,
> }
>
>
>+static int
>+qemuProcessPrepareStorageSourceTlsVxhs(virStorageSourcePtr src,

TLS would be nicer.

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180530/feca46b4/attachment-0001.sig>


More information about the libvir-list mailing list