Re: [PATCH v4 2/3] util: Add virHostCPUGetHaltPollTime

2021-07-27 Thread Michal Prívozník
On 7/22/21 10:05 AM, Yang Fei wrote: > Add helper function virHostCPUGetHaltPollTime to obtain halt polling > time. If the kernel support halt polling time statistic, and mount > debugfs. This function will take effect on KVM VMs. > > Signed-off-by: Yang Fei > --- > src/libvirt_private.syms |

Re: [PATCH v4 2/3] util: Add virHostCPUGetHaltPollTime

2021-07-27 Thread Michal Prívozník
On 7/27/21 11:02 AM, Yang Fei wrote: > > > On 2021/7/27 16:31, Michal Prívozník wrote: >> On 7/22/21 10:05 AM, Yang Fei wrote: >>> Add helper function virHostCPUGetHaltPollTime to obtain halt polling >>> time. If the kernel support halt polling time statistic, and mount >>> debugfs. This

Re: [PATCH v4 2/3] util: Add virHostCPUGetHaltPollTime

2021-07-27 Thread Yang Fei
On 2021/7/27 16:31, Michal Prívozník wrote: > On 7/22/21 10:05 AM, Yang Fei wrote: >> Add helper function virHostCPUGetHaltPollTime to obtain halt polling >> time. If the kernel support halt polling time statistic, and mount >> debugfs. This function will take effect on KVM VMs. >> >>

[PATCH v4 2/3] util: Add virHostCPUGetHaltPollTime

2021-07-22 Thread Yang Fei
Add helper function virHostCPUGetHaltPollTime to obtain halt polling time. If the kernel support halt polling time statistic, and mount debugfs. This function will take effect on KVM VMs. Signed-off-by: Yang Fei --- src/libvirt_private.syms | 1 + src/util/virhostcpu.c| 39