]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce qemuDomainSecretIV
authorJohn Ferlan <jferlan@redhat.com>
Mon, 2 May 2016 10:43:32 +0000 (06:43 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 5 May 2016 18:47:51 +0000 (14:47 -0400)
commitbead05ea4dcd4131c6429d457a665b46b30f70c2
treee19effad71808b957e1c9e9096f7037e02bcbab5
parent2ba52ce095a7a25e75aae8bbf8e0c8c79b87407e
qemu: Introduce qemuDomainSecretIV

Add the data structure and infrastructure to support an initialization
vector (IV) secrets. The IV secret generation will need to have access
to the domain private master key, so let's make sure the prepare disk
and hostdev functions can accept that now.

Anywhere that needs to make a decision over which secret type to use
in order to fill in or use the IV secret has a switch added.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_hotplug.c