libvirt/src/libxl
Michal Privoznik 94ce37c8e2 src: Declare and use g_autoptr(virConfValue)
This commit declares g_autoptr() function for virConfValue type.
At the same time, it switches variable declarations to use it.
Also, in a few places we might have freed a variable twice, for
instance in xenFormatXLDomainNamespaceData(). This is because
virConfSetValue() consumes passed pointer (@value) even in case
of failure and thus any code that uses virConfSetValue() must
refrain from touching @value and it must not call
virConfFreeValue().

This semantic is not obvious and will be addressed in one of
future commits.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-01-17 09:53:45 +01:00
..
libvirtd_libxl.aug libxl: do not enable nested HVM unless global nested_hvm option enabled 2018-04-17 21:15:27 -06:00
libxl_api_wrapper.h libxl: add API wrapper for libxl_set_memory_target 2021-04-01 14:01:06 -06:00
libxl_capabilities.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
libxl_capabilities.h Xen: Remove unneeded LIBXL_HAVE_* ifdefs 2021-06-21 10:43:04 -06:00
libxl_conf.c Remove empty cleanup sections 2021-12-13 14:44:01 +01:00
libxl_conf.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_domain.c lib: Drop some needless labels 2021-12-03 17:19:35 +01:00
libxl_domain.h libxl: Disable death events after receiving a shutdown event 2021-12-02 11:21:10 -07:00
libxl_driver.c libxl: Implement domainGetMessages API 2021-12-14 08:55:36 -07:00
libxl_driver.h src/libxl: use #pragma once in headers 2019-06-13 17:05:10 +02:00
libxl_logger.c libxl: libxlLoggerFileFree: remove redundant NULL assignment 2021-12-03 16:23:49 +01:00
libxl_logger.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_migration.c do not report generic OPERATION_FAILED error when calling virConnectOpenAuth() 2022-01-07 16:58:25 +01:00
libxl_migration.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl.conf
meson.build build: Remove unused 'conflicts' key from virt_daemon_unit 2021-02-10 09:30:41 -07:00
test_libvirtd_libxl.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
virtxend.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtxend.service.in qemu, xen: add missing deps on virtlockd/virtlogd sockets 2021-08-31 13:40:33 +01:00
virtxend.sysconf systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
xen_common.c src: Declare and use g_autoptr(virConfValue) 2022-01-17 09:53:45 +01:00
xen_common.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xl.c src: Declare and use g_autoptr(virConfValue) 2022-01-17 09:53:45 +01:00
xen_xl.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xm.c src: Declare and use g_autoptr(virConfValue) 2022-01-17 09:53:45 +01:00
xen_xm.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xenxs_private.h xenconfig: move contents to libxl driver and remove directory 2019-08-26 11:06:12 -06:00