libvirt/src/libxl
Peter Krempa 4a33825314 xenParseXLNamespaceData: Pre-calculate the length of array
Precalculate the lenght to avoid use of 'virStringListAdd' in a loop.
The code is also simplified by using APIs which don't return errors.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-02-11 17:05:33 +01:00
..
libvirtd_libxl.aug
libxl_capabilities.c Fix incorrect g_new0 conversions 2020-10-06 14:26:43 +02:00
libxl_capabilities.h src: add G_GNUC_NO_INLINE annotations for mocked symbols 2020-08-04 17:58:08 +01:00
libxl_conf.c libxl: replace VIR_FREE with g_free in all *Dispose() functions 2021-02-05 00:22:09 -05:00
libxl_conf.h Xen: Add support for qemu command-line passthrough 2020-08-25 10:11:08 -06:00
libxl_domain.c libxl: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:43 -05:00
libxl_domain.h Xen: Add support for qemu command-line passthrough 2020-08-25 10:11:08 -06:00
libxl_driver.c libxl: replace VIR_FREE with g_free in all vir*Free() functions 2021-02-05 00:20:43 -05:00
libxl_driver.h
libxl_logger.c util: hash: Retire 'virHashTable' in favor of 'GHashTable' 2020-11-06 10:40:51 +01:00
libxl_logger.h
libxl_migration.c libxl: replace VIR_FREE with g_free in all *Dispose() functions 2021-02-05 00:22:09 -05:00
libxl_migration.h
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
virtxend.init.in
virtxend.service.in
virtxend.sysconf
xen_common.c xen: recognize device_model_override 2020-12-07 15:38:31 -07:00
xen_common.h
xen_xl.c xenParseXLNamespaceData: Pre-calculate the length of array 2021-02-11 17:05:33 +01:00
xen_xl.h
xen_xm.c domain_conf: make virDomainDiskSetDriver() void 2020-11-11 12:53:11 +01:00
xen_xm.h
xenxs_private.h