[libvirt] [PATCH v4 6/7] qemu: Alter the qemuDomainGetSecretAESAlias to add new arg
Ján Tomko
jtomko at redhat.com
Thu Jul 14 14:39:19 UTC 2016
On Mon, Jul 11, 2016 at 02:07:57PM -0400, John Ferlan wrote:
>Soon we will be adding luks encryption support. Since a volume could require
>both a luks secret and a secret to give to the server to use of the device,
>alter the alias generation to create a slightly different alias so that
>we don't have two objects with the same alias.
>
>Signed-off-by: John Ferlan <jferlan at redhat.com>
>---
> src/qemu/qemu_alias.c | 10 ++++++++--
> src/qemu/qemu_alias.h | 3 ++-
> src/qemu/qemu_domain.c | 17 ++++++++++-------
> src/qemu/qemu_hotplug.c | 3 ++-
> 4 files changed, 22 insertions(+), 11 deletions(-)
>
>diff --git a/src/qemu/qemu_alias.c b/src/qemu/qemu_alias.c
>index d624071..51a654a 100644
>--- a/src/qemu/qemu_alias.c
>+++ b/src/qemu/qemu_alias.c
>@@ -485,13 +485,16 @@ qemuDomainGetMasterKeyAlias(void)
ACK
Jan
More information about the libvir-list
mailing list