On Sat, Aug 13, 2022 at 11:11:15 +0800, ~hyman wrote:
From: Hyman Huang(黄勇) <yong.huang(a)smartx.com>
Extend vcpuinfo api to display dirty page rate upper limit info,
which is set by 'limit-dirty-page-rate'.
Signed-off-by: Hyman Huang(黄勇) <yong.huang(a)smartx.com>
---
src/remote/remote_daemon_dispatch.c | 2 ++
src/remote/remote_driver.c | 2 ++
src/remote/remote_protocol.x | 2 ++
tools/virsh-domain.c | 5 +++++
4 files changed, 11 insertions(+)
diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
index f0b7f0a5fa..633b9af74e 100644
--- a/src/remote/remote_protocol.x
+++ b/src/remote/remote_protocol.x
@@ -416,6 +416,8 @@ struct remote_vcpu_info {
int state;
unsigned hyper cpu_time;
int cpu;
+ unsigned hyper limit;
+ unsigned hyper current;
};
NACK, see reasoning in 6/11