libvirt/src/lxc
John Ferlan 0daec35370 lxc: Use consistent error preservation and restoration calls
Provide some consistency over error message variable name and usage
when saving error messages across possible other errors or possibility
of resetting of the last error.

Instead of virSaveLastError paired up with virSetError and virFreeError,
we should use the newer virErrorPreserveLast and virRestoreError.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2019-10-16 15:24:40 -04:00
..
libvirtd_lxc.aug
lxc_cgroup.c lxc: use G_GNUC_UNUSED 2019-10-15 11:25:23 +02:00
lxc_cgroup.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_conf.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
lxc_conf.h src: honour the RUNSTATEDIR variable in all code 2019-08-27 10:23:13 +01:00
lxc_container.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
lxc_container.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_controller.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
lxc_domain.c lxc: use G_GNUC_UNUSED 2019-10-15 11:25:23 +02:00
lxc_domain.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
lxc_driver.c lxc: Use consistent error preservation and restoration calls 2019-10-16 15:24:40 -04:00
lxc_driver.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_fuse.c lxc: use G_GNUC_UNUSED 2019-10-15 11:25:23 +02:00
lxc_fuse.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_hostdev.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
lxc_hostdev.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_monitor_protocol.x
lxc_monitor.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
lxc_monitor.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_native.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
lxc_native.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc_process.c lxc: Use consistent error preservation and restoration calls 2019-10-16 15:24:40 -04:00
lxc_process.h src/lxc: use #pragma once in headers 2019-06-19 17:12:30 +02:00
lxc.conf lxc.conf: s/QEMU/LXC/ 2016-11-09 18:56:15 +01:00
Makefile.inc.am build: link to glib library 2019-10-14 10:54:42 +01:00
test_libvirtd_lxc.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
virtlxcd.service.in lxc: introduce virtlxcd daemon 2019-08-09 14:06:31 +01:00