qemu/include/monitor
Hyman Huang(黄勇) f3b2e38cfb softmmu/dirtylimit: Implement dirty page rate limit
Implement dirtyrate calculation periodically basing on
dirty-ring and throttle virtual CPU until it reachs the quota
dirty page rate given by user.

Introduce qmp commands "set-vcpu-dirty-limit",
"cancel-vcpu-dirty-limit", "query-vcpu-dirty-limit"
to enable, disable, query dirty page limit for virtual CPU.

Meanwhile, introduce corresponding hmp commands
"set_vcpu_dirty_limit", "cancel_vcpu_dirty_limit",
"info vcpu_dirty_limit" so the feature can be more usable.

"query-vcpu-dirty-limit" success depends on enabling dirty
page rate limit, so just add it to the list of skipped
command to ensure qmp-cmd-test run successfully.

Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <4143f26706d413dd29db0b672fe58b3d3fbe34bc.1656177590.git.huangy81@chinatelecom.cn>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2022-07-20 12:15:08 +01:00
..
hmp-target.h mos6522: add "info via" HMP command for debugging 2022-03-09 09:28:28 +00:00
hmp.h softmmu/dirtylimit: Implement dirty page rate limit 2022-07-20 12:15:08 +01:00
monitor.h Move error_printf_unless_qmp() with monitor unit 2022-04-21 17:09:09 +04:00
qdev.h qdev: Base object creation on QDict rather than QemuOpts 2021-10-15 16:11:22 +02:00
stats.h qmp: add filtering of statistics by name 2022-06-14 16:50:30 +02:00