]> xenbits.xensource.com Git - libvirt.git/commit
src: adopt to VIR_DRV_SUPPORTS_FEATURE return -1
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Thu, 17 Dec 2020 12:20:57 +0000 (15:20 +0300)
committerNick Shyrokovskiy <nshyrokovskiy@gmail.com>
Wed, 6 Jan 2021 14:10:01 +0000 (17:10 +0300)
commitd4439a6b83206f7fb0a11eee7a2c7848d3397385
tree7a181a508e94f63021dee485f66ea31643d986d1
parent1dd607cd9cc1af35415fd15e24d1761214db6d09
src: adopt to VIR_DRV_SUPPORTS_FEATURE return -1

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@virtuozzo.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/libvirt-domain.c
src/libvirt-host.c
src/libvirt.c