Re: [PATCH] bhyve: implement domainGetCPUStats

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

 



On 04/30/2014 02:57 PM, Daniel P. Berrange wrote:
> On Wed, Apr 30, 2014 at 02:51:18PM +0200, Ján Tomko wrote:
>>
>> The apps should check how many stat parameters are supported for a given pCPU
>> by calling virDomainGetCPUStats with nparams=0 and/or check the actual number
>> of stats returned.
>>
>> Could we return valid results for total CPU stats (start_cpu = -1) and just
>> not return any for all other start_cpu values?
> 
> Wouldn't that just be duplicating what we already provide via the
> virDomainGetInfo cpuTime field ? If so it doesn't seem like we need
> to add this feature to virDomainGetCPUStats too ?
> 

Right, it's possible but not really useful.

Jan

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]