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

Re: [libvirt] [RFC] New API to retrieve node CPU map



On 10/11/2012 12:46 AM, Viktor Mihajlovski wrote:
> On 10/10/2012 11:23 PM, Eric Blake wrote:
>>
>> Are you interested in writing patches to implement this new API, if
>> others agree with my alternate single-API signature?
>>
> 
> actually, I started to write up my proposal with the signature you
> suggested :-). A second thought was that having a function to retrieve
> the number only might be convenient here and there.

Retrieving only the number is useful, but it is also easy with a single
API - have the API return the number always, and allow the user to pass
NULL instead of the location where libvirt would normally malloc() the
result.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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