[PATCH 05/30] qemu: domain: Split out encryption of secret object data
Eric Blake
eblake at redhat.com
Wed Mar 11 22:13:50 UTC 2020
On 3/9/20 11:22 AM, Peter Krempa wrote:
> Previously qemuDomainSecretAESSetup was looking up the secret in the
> secret diver as well as encrypting it for use with qemu. Split out the
driver
> the lookup into a wrapper for this function so that we can reuse the
> original internals when we don't need to look up a secret with the
> secret driver. The new wrapper is called
> qemuDomainSecretAESSetupFromSecret.
>
> This refactor also changes the functions to return qemuDomainSecretInfoPtr
> directly rather than filling it via an argument. This rendered
> qemuDomainSecretInfoNew obsolete and thus it was deleted.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
More information about the libvir-list
mailing list