Re: [PATCH] bhyve: implement domainGetCPUStats

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

 



On 04/24/2014 11:14 AM, Roman Bogorodskiy wrote:
>   Ján Tomko wrote:
> 
>> On 04/22/2014 07:44 PM, Roman Bogorodskiy wrote:
>>> For per CPU stats, implement virBhyveGetDomainPercpuStats() that
>>> uses bhyvectl tool to obtain the guest's vcpu stats.
>>>
>>
>> In virDomainGetCPUStats API, the start_cpu and ncpus parameters refer to host
>> CPUs, not the vcpus.
> 
> Looks like I misunderstood the API. :-(
> 
> In other words, this API operates with the host CPUs? So if user calls
> it with e.g. start_cpu = 2 and ncpus = 2, I should return info on how
> much time host CPUs 2 and 3 spend on the given domain (as the opposite
> to how much time domain's vcpu 2 and vcpu 3 were busy)?
> 

Yes.

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]