[Libvirt-cim] [PATCH 5 of 6] Add processor support to SettingsDefineCapabilities

Jay Gagnon grendel at linux.vnet.ibm.com
Mon Nov 12 16:31:11 UTC 2007


Daniel Veillard wrote:
> On Mon, Nov 12, 2007 at 10:26:54AM -0500, Jay Gagnon wrote:
>   
>> Jay Gagnon wrote:
>>     
>>> Dan Smith wrote:
>>>   
>>>       
>>>> JG> +        cpuinfo = fopen("/proc/cpuinfo", "r");
>>>>
>>>> This should come from virNodeInfo.  
>>>>     
>>>>         
>>> Okay.  Only question before I do that is do we have virNodeInfo in all
>>> the versions of libvirt we support?  The only reason I had to write this
>>> myself at all is that the libvirt function that determines the maximum
>>> number of vcpus came in too late for us.
>>>   
>>>       
>> Looks like this question got lost in the shuffle.  What version of
>> libvirt are we actually writing against?  In other words, of the
>> versions shipped with the various distributions we're supporting, which
>> one is the oldest?  I want to make sure I don't try to use something
>> that is too new.
>>     
>
>   See virNodeGetInfo in the table 
>     http://libvirt.org/hvsupport.html
> it's there since 0.1.0 (at least for Xen), so no problem,
>
> Daniel
>
>   
Heh, yea looks like we should be all right.  I hadn't seen that table
before, definitely good to know that exists.

-- 

-Jay




More information about the Libvirt-cim mailing list