Re: [PATCH 4/5] conf: Parse dommon configure file for memorytune monitors

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

 



On Thu, Nov 14, 2019 at 01:08:22AM +0800, Wang Huaqiang wrote:
> From: Huaqiang <huaqiang.wang@xxxxxxxxx>
> 
> Create memory bandwidth monitor.
> 
> Following domain configuration changes create two memory bandwidth
> monitors: one is monitoring the bandwidth consumed by vCPU 0,
> another is for vCPU 5.
> 
> ```
>                <cputune>
>                  <memorytune vcpus='0-4'>
>                    <node id='0' bandwidth='20'/>
>                    <node id='1' bandwidth='30'/>
>        +           <monitor vcpus='0'/>
>                  </memorytune>
>        +         <memorytune vcpus='5'>
>        +           <monitor vcpus='5'/>
>        +         </memorytune>
> 
>                </cputune>
>     ```
> 
> Signed-off-by: Huaqiang <huaqiang.wang@xxxxxxxxx>
> ---
>  docs/schemas/domaincommon.rng              | 23 +++++++----
>  src/conf/domain_conf.c                     | 44 +++++++++++++++++-----
>  tests/genericxml2xmlindata/memorytune.xml  |  5 +++
>  tests/genericxml2xmloutdata/memorytune.xml | 42 +++++++++++++++++++++
>  tests/genericxml2xmltest.c                 |  2 +-
>  5 files changed, 98 insertions(+), 18 deletions(-)
>  create mode 100644 tests/genericxml2xmloutdata/memorytune.xml

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[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