Re: [PATCH for 8.5.0] API: Remove internal impl detail from VIR_DOMAIN_IOTHREAD_THREAD_POOL_{MIN, MAX} description

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

 



On Thu, Jun 30, 2022 at 08:40:21AM +0200, Michal Privoznik wrote:
> When introducing VIR_DOMAIN_IOTHREAD_THREAD_POOL_MIN and
> VIR_DOMAIN_IOTHREAD_THREAD_POOL_MAX typed parameters, I've made a
> shortcut. Since at the monitor level these two are set in two
> separate calls and minimum has to be always smaller than maximum
> (or equal to it), it may happen that one of the values we want to
> set violates this restriction. So I've put a little note in the
> public API description warning users about this.
> 
> However, the proper solution is to have a logic that checks the
> current values and based on that set either minimum or maximum
> value first. But until we get there, remove that note from the
> public API before it gets released.
> 
> Related: https://gitlab.com/libvirt/libvirt/-/issues/339
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  include/libvirt/libvirt-domain.h | 8 ++------
>  1 file changed, 2 insertions(+), 6 deletions(-)

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


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




[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