libvirt/src/libxl
Michal Privoznik 196e6faabd lib: Use G_N_ELEMENTS instead of sizeof()/sizeof()
For statically declared arrays one can use G_N_ELEMENTS() instead
of explicit sizeof(array) / sizeof(item). I've noticed couple of
places where the latter was used.

I am not fixing every occurrence because we have some places
which do not use glib (examples and NSS module).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
2021-11-03 14:46:54 +01:00
..
libvirtd_libxl.aug
libxl_api_wrapper.h libxl: add API wrapper for libxl_set_memory_target 2021-04-01 14:01:06 -06:00
libxl_capabilities.c lib: Use G_N_ELEMENTS instead of sizeof()/sizeof() 2021-11-03 14:46:54 +01:00
libxl_capabilities.h Xen: Remove unneeded LIBXL_HAVE_* ifdefs 2021-06-21 10:43:04 -06:00
libxl_conf.c libxl: remove conditionals from discard configuration 2021-08-13 08:44:01 -06:00
libxl_conf.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_domain.c libxl: Add helper function for running the hook script 2021-07-12 14:02:18 -06:00
libxl_domain.h libxl: Add helper function for running the hook script 2021-07-12 14:02:18 -06:00
libxl_driver.c libxl: Don't autostart domains on driver reload 2021-09-14 11:37:35 -06:00
libxl_driver.h
libxl_logger.c libxlLoggerNew: virHashNew cannot return NULL 2021-07-23 11:30:34 +02:00
libxl_logger.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_migration.c Remove redundant labels 2021-08-17 18:27:13 +02: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
virtxend.init.in
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 util: alloc: Reimplement VIR_APPEND_ELEMENT using virAppendElement 2021-08-06 08:53:25 +02:00
xen_common.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xl.c conf: Store SCSI bus length in virDomainDef 2021-08-16 14:22:38 +02:00
xen_xl.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xm.c conf: Store SCSI bus length in virDomainDef 2021-08-16 14:22:38 +02:00
xen_xm.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xenxs_private.h