xemu/qga
zhenwei pi 1db8a0b0ea 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>
2022-07-13 12:19:18 +03:00
..
installer qga/wixl: replace QEMU_GA_MSI_MINGW_BIN_PATH with glib bindir 2022-05-28 11:42:56 +02:00
vss-win32 qga-vss: Use the proper operator to free memory 2022-05-14 12:32:41 +02:00
channel-posix.c qga: replace qemu_open_old() with qga_open_cloexec() 2022-05-28 11:42:56 +02:00
channel-win32.c qga: Add spaces around operator 2021-03-16 20:20:37 -05:00
channel.h qga: add systemd socket activation support 2017-03-06 00:54:18 -06:00
commands-common.h qga: move qga_get_host_name() 2022-04-21 17:09:09 +04:00
commands-posix-ssh.c Remove superfluous ERRP_GUARD() 2021-08-26 17:15:28 +02:00
commands-posix.c qga: add command 'guest-get-cpustats' 2022-07-13 12:19:18 +03:00
commands-win32.c qga: add command 'guest-get-cpustats' 2022-07-13 12:19:18 +03:00
commands.c qga: remove need for QEMU atomic.h 2022-04-21 17:09:09 +04:00
cutils.c qga: add qga_open_cloexec() helper 2022-05-28 11:42:56 +02:00
cutils.h qga: add qga_open_cloexec() helper 2022-05-28 11:42:56 +02:00
guest-agent-command-state.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
guest-agent-core.h Replace GCC_FMT_ATTR with G_GNUC_PRINTF 2022-03-22 14:40:51 +04:00
main.c trivial: qga: Log version on start 2022-05-25 12:12:02 +03:00
meson.build meson: qga: do not use deprecated meson.build_root() 2022-06-06 16:04:08 +02:00
qapi-schema.json qga: add command 'guest-get-cpustats' 2022-07-13 12:19:18 +03:00
service-win32.c qga: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
service-win32.h qga-win: changing --retry-path option behavior 2018-10-31 09:04:20 -05:00
vss-win32.c qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00
vss-win32.h qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00