Re: [PATCH v2 2/3] util: Add virGetCpuHaltPollTime and virGetDebugFsKvmValue

2021-07-15 Thread Yang Fei
On 2021/7/14 22:17, Michal Prívozník wrote: > On 7/14/21 2:28 PM, Yang Fei wrote: >> Add helper function virGetCpuHaltPollTime and virGetDebugFsKvmValue >> to obtain the halt polling time. If system mount debugfs, and the >> kernel support halt polling time statistic, it will work. >> >>

Re: [PATCH v2 2/3] util: Add virGetCpuHaltPollTime and virGetDebugFsKvmValue

2021-07-14 Thread Michal Prívozník
On 7/14/21 2:28 PM, Yang Fei wrote: > Add helper function virGetCpuHaltPollTime and virGetDebugFsKvmValue > to obtain the halt polling time. If system mount debugfs, and the > kernel support halt polling time statistic, it will work. > > Signed-off-by: Yang Fei > --- > src/libvirt_private.syms

[PATCH v2 2/3] util: Add virGetCpuHaltPollTime and virGetDebugFsKvmValue

2021-07-14 Thread Yang Fei
Add helper function virGetCpuHaltPollTime and virGetDebugFsKvmValue to obtain the halt polling time. If system mount debugfs, and the kernel support halt polling time statistic, it will work. Signed-off-by: Yang Fei --- src/libvirt_private.syms | 2 ++ src/util/virutil.c | 78