[libvirt] [PATCH 7/7] qemu: when leaving iotune group update xml properly

Daniel P. Berrangé berrange at redhat.com
Tue Jan 28 14:27:31 UTC 2020


On Wed, Jan 08, 2020 at 09:49:31AM +0300, Nikolay Shirokovskiy wrote:
> Currently when disk is removed from iotune group (by setting
> all tunables to zero) group name is leaved in config. Let's fix
> it.
> 
> Given iotune defaults are taken from the destination group setting
> tunables to zero may require different set of zero settings in API
> call. Let's prohibit removing from group while specifying different
> group name then current for the sanity sake.
> 
> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy at virtuozzo.com>
> ---
>  src/qemu/qemu_driver.c | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


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 :|




More information about the libvir-list mailing list