]> xenbits.xensource.com Git - libvirt.git/commit
qemu: adopt to VIR_DRV_SUPPORTS_FEATURE return -1
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Thu, 17 Dec 2020 12:28:25 +0000 (15:28 +0300)
committerNick Shyrokovskiy <nshyrokovskiy@gmail.com>
Wed, 6 Jan 2021 14:10:07 +0000 (17:10 +0300)
commit910b94dfe4e296d467bfd179d69bfc48a9856ded
tree4288214284c649c7d0a69ba85730097ca762789a
parent032a35893b08dcadfcd935b5f7ff603239e04829
qemu: 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/qemu/qemu_migration.c