summary refs log tree commit diff stats
path: root/hw/i2c
diff options
context:
space:
mode:
authorzhenwei pi <pizhenwei@bytedance.com>2022-07-07 08:56:02 +0800
committerKonstantin Kostiuk <kkostiuk@redhat.com>2022-07-13 12:19:18 +0300
commit1db8a0b0ea2fb72ecab36bd3143a9715c083d5d3 (patch)
treefb9e329f89c25214d7a002b48fbce58c71cedef8 /hw/i2c
parentfd89c8ab091bf7faeea04bef51d4296a53a35279 (diff)
downloadfocaccia-qemu-1db8a0b0ea2fb72ecab36bd3143a9715c083d5d3.tar.gz
focaccia-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 'hw/i2c')
0 files changed, 0 insertions, 0 deletions