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

John Ferlan jferlan at redhat.com
Wed May 30 21:59:27 UTC 2018



On 05/30/2018 08:41 AM, 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.
> 
> Luckily for disks we don't support encrypted TLS nevironment, so there's

environment

> no need to regenerate the 'seceret' alias for decrypting.

decryption (two that Jan missed)


John

> 
> 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(+)
[...]




More information about the libvir-list mailing list