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@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list