Re: [libvirt] [PATCH v2 05/10] qemu: don't pass virConnectPtr around for secrets

2018-02-15 Thread John Ferlan
On 02/15/2018 11:50 AM, Daniel P. Berrangé wrote: > During domain startup there are many places where we need to acquire > secrets. Currently code passes around a virConnectPtr, except in the > places where we pass in NULL. So there are a few codepaths where ability > to start guests using

[libvirt] [PATCH v2 05/10] qemu: don't pass virConnectPtr around for secrets

2018-02-15 Thread Daniel P . Berrangé
During domain startup there are many places where we need to acquire secrets. Currently code passes around a virConnectPtr, except in the places where we pass in NULL. So there are a few codepaths where ability to start guests using secrets will fail. Change to acquire a handle to the secret