Re: [PATCH] qga: add command 'guest-get-cpustats'

2022-07-01 Thread Konstantin Kostiuk
On Fri, Jul 1, 2022 at 4:53 PM Marc-André Lureau wrote: > Hi > > On Fri, Jul 1, 2022 at 7:11 AM zhenwei pi wrote: > >> A vCPU thread always reaches 100% utilization when: >> - guest uses idle=poll >> - disable HLT vm-exit >> - enable MWAIT >> >> Add new guest agent command 'guest-get-cpustats'

Re: [PATCH] qga: add command 'guest-get-cpustats'

2022-07-01 Thread Marc-André Lureau
Hi On Fri, Jul 1, 2022 at 7:11 AM zhenwei pi wrote: > A vCPU thread always reaches 100% utilization when: > - guest uses idle=poll > - disable HLT vm-exit > - enable MWAIT > > Add new guest agent command 'guest-get-cpustats' to get guest CPU > statistics, we can know the guest workload and how

[PATCH] qga: add command 'guest-get-cpustats'

2022-06-30 Thread zhenwei pi
A vCPU thread always reaches 100% utilization when: - guest uses idle=poll - disable HLT vm-exit - enable MWAIT Add new guest agent command 'guest-get-cpustats' to get guest CPU statistics, we can know the guest workload and how busy the CPU is. Signed-off-by: zhenwei pi ---