]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Add secinfo for hotplug virtio disk
authorJohn Ferlan <jferlan@redhat.com>
Wed, 22 Jun 2016 11:07:49 +0000 (07:07 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 19 Jul 2016 13:40:10 +0000 (09:40 -0400)
commitfceeeda2115bcb86b992c4add38704a886c099c8
tree8e9348499db8d9e55bf6d463483b0910da8eb04b
parent5e46d7d6b693c1e3c9197c182302ac7125a856d9
qemu: Add secinfo for hotplug virtio disk

Commit id 'a1344f70a' added AES secret processing for RBD when starting
up a guest. As such, when the hotplug code calls qemuDomainSecretDiskPrepare
an AES secret could be added to the disk about to be hotplugged. If an AES
secret was added, then the hotplug code would need to generate the secret
object because qemuBuildDriveStr would add the "password-secret=" to the
returned 'driveStr' rather than the base64 encoded password.

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