]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Move qemuDomainSecretDestroy to qemuProcessLaunch
authorJohn Ferlan <jferlan@redhat.com>
Mon, 2 May 2016 17:31:47 +0000 (13:31 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 5 May 2016 18:47:51 +0000 (14:47 -0400)
commit8ac3b74ad274e5925dadd48cd5fd79aadd6fae4e
tree04dba8c1037860ad1819680ba1043bc84a0ea833
parent3619be49718319443790bae1daeb2af361c87126
qemu: Move qemuDomainSecretDestroy to qemuProcessLaunch

Rather than need to call qemuDomainSecretDestroy after any call to
qemuProcessLaunch, let's do the destroy in qemuProcessLaunch since
that's where command line is eventually generated and processed. Once
it's generated, we can clear out the secrets.

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