Re: [libvirt] [PATCH v1] qemu: Convert to virErrorPreserveLast/virErrorRestore

2019-05-20 Thread Michal Privoznik
On 4/28/19 3:49 PM, Syed Humaid wrote: Replaced usage of virSaveLastError and virSetError/virFreeError with virErrorPreserveLast and virErrorRestore respectively. Signed-off-by: Syed Humaid --- src/qemu/qemu_cgroup.c | 7 ++- src/qemu/qemu_command.c | 2 +- src/qemu/qemu_domain.c |

[libvirt] [PATCH v1] qemu: Convert to virErrorPreserveLast/virErrorRestore

2019-04-28 Thread Syed Humaid
Replaced usage of virSaveLastError and virSetError/virFreeError with virErrorPreserveLast and virErrorRestore respectively. Signed-off-by: Syed Humaid --- src/qemu/qemu_cgroup.c | 7 ++- src/qemu/qemu_command.c | 2 +- src/qemu/qemu_domain.c | 2 +- src/qemu/qemu_driver.c | 28