Replaced usages of virSaveLastError and virSetError/virFreeError with
virErrorPreserveLast and virErrorRestore respectively.
Signed-off-by: Syed Humaid
---
src/qemu/qemu_migration.c | 75 +--
1 file changed, 24 insertions(+), 51 deletions(-)
diff --git a/src
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
Replaced usage of virSaveLastError and virSetError/virFreeError with
virErrorPreserveLast and virErrorRestore respectively.
Signed-off-by: Syed Humaid
---
src/network/bridge_driver.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/src/network/bridge_driver.c
Replaced all virSaveLastError and virSetError/virFreeError usages to
virErrorPreserveLast and virErrorRestore respectively.
Signed-off-by: Syed Humaid
---
src/libvirt-domain.c | 24 +---
1 file changed, 9 insertions(+), 15 deletions(-)
diff --git a/src/libvirt-domain.c b
As per the suggestions regarding the previous patch for virErrorPreserveLast
conversions, I have converted all instances to virErrorPreserveLast and
virErrorRestore.
Signed-off-by: Syed Humaid
---
src/libvirt-domain.c | 26 +++---
1 file changed, 11 insertions(+), 15
From: Humaid
Converted few instances of virSaveLastError() to virErrorPreserveLast() as per
the newer internal APIs for saving and restoring error reports.
Signed-off-by: Syed Humaid
---
src/libvirt-domain.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src