[libvirt] [PATCH 2/5] libxl: allow getting < max typed parameters

Eric Blake eblake at redhat.com
Wed Nov 2 19:49:36 UTC 2011


On 11/02/2011 12:35 PM, Stefan Berger wrote:
> On 11/02/2011 02:00 PM, Eric Blake wrote:
>> Allow the user to call with nparams too small, per API documentation.
>>
>> + if (virStrcpyStatic(params[1].field, "cap") == NULL) {
> I remember this one here:
>
> VIR_DOMAIN_SCHEDULER_CAP
>
> Is this the same one ? If so, maybe you want to replace it.

Good catch, and yes, I'll squash that fix into my earlier patch on 
naming the parameters.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list