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

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

 



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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]