[libvirt] [PATCH 16/38] qemu: domain: Regenerate alias for the TLS x509 credential object

Ján Tomko jtomko at redhat.com
Wed May 30 16:53:22 UTC 2018


On Wed, May 30, 2018 at 02:41:12PM +0200, Peter Krempa wrote:
>When restarting libvirt would previously lose the alias of the x509
>certificate object. Upon unplug we would then not delete the
>corresponding objects.
>
>Restore the alias if we know it shoudl be there.

should

>
>Luckily for disks we don't support encrypted TLS nevironment, so there's
>no need to regenerate the 'seceret' alias for decrypting.

secret

>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_domain.c                                   |  7 +++++++
> tests/qemustatusxml2xmldata/disk-secinfo-upgrade-in.xml  | 10 ++++++++++
> tests/qemustatusxml2xmldata/disk-secinfo-upgrade-out.xml | 15 +++++++++++++++
> 3 files changed, 32 insertions(+)
>

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/38bf8aa6/attachment-0001.sig>


More information about the libvir-list mailing list