libvirt/src/remote
John Ferlan 28805f3d86 remote: 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:41 -04:00
..
libvirtd-admin.socket.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00
libvirtd-ro.socket.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00
libvirtd-tcp.socket.in remote: conditionalize systemd socket unit files 2019-08-09 14:06:31 +01:00
libvirtd-tls.socket.in remote: conditionalize systemd socket unit files 2019-08-09 14:06:31 +01:00
libvirtd.aug.in build: don't hardcode /etc in the config related files 2019-08-09 14:06:31 +01:00
libvirtd.conf.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00
libvirtd.libxl.logrotate.in logging: ensure virtlogd rollover takes priority over logrotate 2019-07-12 12:44:59 +01:00
libvirtd.logrotate.in daemon: move logrotate files to src/remote/ 2018-02-22 12:26:57 +00:00
libvirtd.lxc.logrotate.in logging: ensure virtlogd rollover takes priority over logrotate 2019-07-12 12:44:59 +01:00
libvirtd.pod remote: forbid the --listen arg when systemd socket activation 2019-08-27 10:46:37 +01:00
libvirtd.policy Do not generate polkit rules file 2018-03-14 12:46:26 +01:00
libvirtd.qemu.logrotate.in logging: ensure virtlogd rollover takes priority over logrotate 2019-07-12 12:44:59 +01:00
libvirtd.rules daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.sasl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
libvirtd.service.in remote: move timeout arg into sysconf file 2019-08-27 10:30:23 +01:00
libvirtd.socket.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00
libvirtd.sysconf remote: move timeout arg into sysconf file 2019-08-27 10:30:23 +01:00
libvirtd.sysctl daemon: move misc libvirtd policy files to src/remote/ 2018-02-22 12:26:50 +00:00
lxc_protocol.x Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
Makefile.inc.am build: link to glib library 2019-10-14 10:54:42 +01:00
qemu_protocol.x Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
remote_daemon_config.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
remote_daemon_config.h remote: conditionalize IP socket usage in libvirtd daemon 2019-08-09 14:06:31 +01:00
remote_daemon_dispatch.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
remote_daemon_dispatch.h src/remote: use #pragma once in headers 2019-06-19 17:12:30 +02:00
remote_daemon_stream.c remote: Use consistent error preservation and restoration calls 2019-10-16 15:24:41 -04:00
remote_daemon_stream.h src/remote: use #pragma once in headers 2019-06-19 17:12:30 +02:00
remote_daemon.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
remote_daemon.h remote: open secondary drivers via remote driver if needed 2019-08-09 14:06:31 +01:00
remote_driver.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00
remote_driver.h remote: enable connecting to the per-driver daemons 2019-08-09 14:06:31 +01:00
remote_protocol.x remote: pass identity across to newly opened daemons 2019-09-16 11:25:53 +01:00
test_libvirtd.aug.in systemd: honour $runstatedir in socket unit files 2019-08-27 10:23:05 +01:00
virt-guest-shutdown.target.in daemon: move init system files into src/remote/ 2018-02-22 12:21:21 +00:00
virtproxyd.service.in remote: introduce virtproxyd daemon to handle IP connectivity 2019-08-09 14:06:31 +01:00