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

Nikolay Shirokovskiy posted 4 patches 3 years, 4 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/1608274608-818018-1-git-send-email-nshirokovskiy@virtuozzo.com
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(-)
[PATCH v3 0/4] handle error in feature testing
Posted by Nikolay Shirokovskiy 3 years, 4 months ago
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