[libvirt] [PATCH 0/3] qemu: hotplig: Improve error reporting

Peter Krempa posted 3 patches 6 years, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1505210917.git.pkrempa@redhat.com
src/libvirt_private.syms |  2 +
src/qemu/qemu_hotplug.c  | 97 ++++++++++++++++--------------------------------
src/util/virerror.c      | 45 ++++++++++++++++++++++
src/util/virerror.h      |  3 ++
4 files changed, 82 insertions(+), 65 deletions(-)
[libvirt] [PATCH 0/3] qemu: hotplig: Improve error reporting
Posted by Peter Krempa 6 years, 6 months ago
Add helpers to remember existing errors when they might be overwritten
and use it to fix "unknown error" reported when attaching disk with lock
manager enabled.

Peter Krempa (3):
  util: error: Add helpers for saving and restoring of last error
  qemu: hotplug: Use new helpers for storing libvirt errors
  qemu: Restore errors when rolling back disk image state

 src/libvirt_private.syms |  2 +
 src/qemu/qemu_hotplug.c  | 97 ++++++++++++++++--------------------------------
 src/util/virerror.c      | 45 ++++++++++++++++++++++
 src/util/virerror.h      |  3 ++
 4 files changed, 82 insertions(+), 65 deletions(-)

-- 
2.14.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/3] qemu: hotplig: Improve error reporting
Posted by Ján Tomko 6 years, 6 months ago
On Tue, Sep 12, 2017 at 12:09:43PM +0200, Peter Krempa wrote:
>Add helpers to remember existing errors when they might be overwritten
>and use it to fix "unknown error" reported when attaching disk with lock
>manager enabled.
>
>Peter Krempa (3):
>  util: error: Add helpers for saving and restoring of last error
>  qemu: hotplug: Use new helpers for storing libvirt errors
>  qemu: Restore errors when rolling back disk image state
>
> src/libvirt_private.syms |  2 +
> src/qemu/qemu_hotplug.c  | 97 ++++++++++++++++--------------------------------
> src/util/virerror.c      | 45 ++++++++++++++++++++++
> src/util/virerror.h      |  3 ++
> 4 files changed, 82 insertions(+), 65 deletions(-)

ACK serues

Jan
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list