Re: [PATCH Libvirt 07/11] virsh: Extend vcpuinfo api

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 13, 2022 at 11:11:15 +0800, ~hyman wrote:
> From: Hyman Huang(黄勇) <yong.huang@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>
> ---
>  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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux