Re: [PATCH v3 1/2] util: Add virGetCpuHaltPollTime

2021-07-20 Thread Michal Prívozník
On 7/20/21 4:55 AM, Yang Fei wrote: > > > On 2021/7/19 17:05, Peter Krempa wrote: >> On Fri, Jul 16, 2021 at 18:42:22 +0800, Yang Fei wrote: >>> Add helper function virGetCpuHaltPollTime to obtain halt polling >>> time. If the kernel support halt polling time statistic, and mount >>> debugfs.

Re: [PATCH v3 1/2] util: Add virGetCpuHaltPollTime

2021-07-19 Thread Yang Fei
On 2021/7/19 18:20, Michal Prívozník wrote: > On 7/16/21 12:42 PM, Yang Fei wrote: >> Add helper function virGetCpuHaltPollTime to obtain halt polling >> time. If the kernel support halt polling time statistic, and mount >> debugfs. This function will take effect on KVM VMs. >> >>

Re: [PATCH v3 1/2] util: Add virGetCpuHaltPollTime

2021-07-19 Thread Yang Fei
On 2021/7/19 17:05, Peter Krempa wrote: > On Fri, Jul 16, 2021 at 18:42:22 +0800, Yang Fei wrote: >> Add helper function virGetCpuHaltPollTime to obtain halt polling >> time. If the kernel support halt polling time statistic, and mount >> debugfs. This function will take effect on KVM VMs. >>

Re: [PATCH v3 1/2] util: Add virGetCpuHaltPollTime

2021-07-19 Thread Michal Prívozník
On 7/16/21 12:42 PM, Yang Fei wrote: > Add helper function virGetCpuHaltPollTime 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 +

Re: [PATCH v3 1/2] util: Add virGetCpuHaltPollTime

2021-07-19 Thread Peter Krempa
On Fri, Jul 16, 2021 at 18:42:22 +0800, Yang Fei wrote: > Add helper function virGetCpuHaltPollTime 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 > --- >

[PATCH v3 1/2] util: Add virGetCpuHaltPollTime

2021-07-16 Thread Yang Fei
Add helper function virGetCpuHaltPollTime 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/virutil.c | 43