Re: [libvirt] [PATCH v2 4/8] qemu: Move qemuDomainSecretDestroy to qemuProcessLaunch

2016-05-05 Thread Daniel P. Berrange
On Mon, May 02, 2016 at 05:51:11PM -0400, John Ferlan wrote: > 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 cle

[libvirt] [PATCH v2 4/8] qemu: Move qemuDomainSecretDestroy to qemuProcessLaunch

2016-05-02 Thread John Ferlan
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 --- src/qemu/qemu_p