Re: [PATCH v2 04/12] qemu: Introduce qemuDomainSecretHostdevPrepare and Destroy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 04/27/2016 07:05 PM, Cole Robinson wrote:
> On 04/16/2016 10:17 AM, John Ferlan wrote:
>> Similar to the qemuDomainSecretDiskPrepare, generate the secret
>> for the Hostdev's prior to call qemuProcessLaunch which calls
>> qemuBuildCommandLine. Additionally, since the secret is not longer
>> added as part of building the command, the hotplug code will need
>> to make the call to add the secret in the hostdevPriv.
>>
>> Since this then is the last requirement to pass a virConnectPtr
>> to qemuBuildCommandLine, we now can remove that as part of these
>> changes. That removal has cascading effects through various callers.
>>
>> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> 
> ACK
> 
> The mixed in virConnectPtr droppage is a pain :) In the future I'd suggest
> annotating it with ATTRIBUTE_UNUSED in the functional patches, then dropping
> it entirely in a separate patch. If this series goes v3 please don't worry
> about it though
> 

Sorry - I was trying to be "patch count efficient"... I've done the
ATTRIBUTE_UNUSED game before too... It's almost always a toss-up.

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]