[PATCH v3 0/4] handle error in feature testing

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Fri Dec 18 06:56:44 UTC 2020


Justification is in the last patch.

Diff to v2 [1]:
- instead of RFC where fix was applied only to virMigrate3 now
  all the places where VIR_DRV_SUPPORTS_FEATURE is used patched
  to handle errors


[1] [RFC PATCH v2] fix error message in virMigrate3 if connection is broken
https://www.redhat.com/archives/libvir-list/2020-September/msg01348.html

Nikolay Shirokovskiy (4):
  src: adopt to VIR_DRV_SUPPORTS_FEATURE return -1
  libxl: adopt to VIR_DRV_SUPPORTS_FEATURE return -1
  qemu: adopt to VIR_DRV_SUPPORTS_FEATURE return -1
  src: don't hide error in VIR_DRV_SUPPORTS_FEATURE

 src/driver.h                |   9 +-
 src/libvirt-domain.c        | 511 ++++++++++++++++++++++++++++++--------------
 src/libvirt-host.c          |  18 +-
 src/libvirt.c               |   7 +-
 src/libxl/libxl_migration.c |  10 +-
 src/qemu/qemu_migration.c   |  33 ++-
 6 files changed, 396 insertions(+), 192 deletions(-)

-- 
1.8.3.1




More information about the libvir-list mailing list