diff options
author | zhenwei pi | 2022-07-07 02:56:02 +0200 |
---|---|---|
committer | Konstantin Kostiuk | 2022-07-13 11:19:18 +0200 |
commit | 1db8a0b0ea2fb72ecab36bd3143a9715c083d5d3 (patch) | |
tree | fb9e329f89c25214d7a002b48fbce58c71cedef8 /scripts/check_sparse.py | |
parent | qapi: Avoid generating C identifier 'linux' (diff) | |
download | qemu-1db8a0b0ea2fb72ecab36bd3143a9715c083d5d3.tar.gz qemu-1db8a0b0ea2fb72ecab36bd3143a9715c083d5d3.tar.xz qemu-1db8a0b0ea2fb72ecab36bd3143a9715c083d5d3.zip |
qga: add command 'guest-get-cpustats'
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.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <20220707005602.696557-3-pizhenwei@bytedance.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Diffstat (limited to 'scripts/check_sparse.py')
0 files changed, 0 insertions, 0 deletions