[PATCH v3 1/4] src: adopt to VIR_DRV_SUPPORTS_FEATURE return -1

Daniel P. Berrangé berrange at redhat.com
Wed Jan 6 12:33:00 UTC 2021


On Fri, Dec 18, 2020 at 09:56:45AM +0300, Nikolay Shirokovskiy wrote:
> Otherwise in some places we can mistakenly report 'unsupported' error instead
> of root cause. So let's handle root cause explicitly from the macro.
> 
> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy at virtuozzo.com>
> ---
>  src/libvirt-domain.c | 511 ++++++++++++++++++++++++++++++++++-----------------
>  src/libvirt-host.c   |  18 +-
>  src/libvirt.c        |   7 +-
>  3 files changed, 365 insertions(+), 171 deletions(-)

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