mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 06:25:19 +00:00
b9a063cd8e
The 'conflict' key in a virt_daemon_unit dictionary is not used when generating systemd service and socket files. The comment associated with the key claims the default is 'true', and a few build files needlessly set it to 'true' when defining their virt_daemon_unit. Remove the 'conflict' key and its use in the affect build files. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
92 lines
1.9 KiB
Meson
92 lines
1.9 KiB
Meson
libxl_driver_sources = [
|
|
'libxl_capabilities.c',
|
|
'libxl_conf.c',
|
|
'libxl_domain.c',
|
|
'libxl_driver.c',
|
|
'libxl_logger.c',
|
|
'libxl_migration.c',
|
|
'xen_common.c',
|
|
'xen_xl.c',
|
|
'xen_xm.c',
|
|
]
|
|
|
|
driver_source_files += files(libxl_driver_sources)
|
|
stateful_driver_source_files += files(libxl_driver_sources)
|
|
|
|
if conf.has('WITH_LIBXL')
|
|
libxl_driver_imp = static_library(
|
|
'virt_driver_libxl_impl',
|
|
[
|
|
libxl_driver_sources,
|
|
],
|
|
dependencies: [
|
|
access_dep,
|
|
libxl_dep,
|
|
src_dep,
|
|
],
|
|
include_directories: [
|
|
conf_inc_dir,
|
|
hypervisor_inc_dir,
|
|
storage_file_inc_dir,
|
|
],
|
|
)
|
|
|
|
virt_modules += {
|
|
'name': 'virt_driver_libxl',
|
|
'link_whole': [
|
|
libxl_driver_imp,
|
|
],
|
|
'link_args': [
|
|
libvirt_no_undefined,
|
|
],
|
|
}
|
|
|
|
virt_daemons += {
|
|
'name': 'virtxend',
|
|
'c_args': [
|
|
'-DDAEMON_NAME="virtxend"',
|
|
'-DMODULE_NAME="libxl"',
|
|
],
|
|
}
|
|
|
|
virt_conf_files += files('libxl.conf')
|
|
virt_aug_files += files('libvirtd_libxl.aug')
|
|
virt_test_aug_files += {
|
|
'name': 'test_libvirtd_libxl.aug',
|
|
'aug': files('test_libvirtd_libxl.aug.in'),
|
|
'conf': files('libxl.conf'),
|
|
'test_name': 'libvirtd_libxl',
|
|
'test_srcdir': meson.current_source_dir(),
|
|
'test_builddir': meson.current_build_dir(),
|
|
}
|
|
|
|
virt_daemon_confs += {
|
|
'name': 'virtxend',
|
|
}
|
|
|
|
virt_daemon_units += {
|
|
'service': 'virtxend',
|
|
'service_in': files('virtxend.service.in'),
|
|
'name': 'Libvirt libxl',
|
|
'sockprefix': 'virtxend',
|
|
'sockets': [ 'main', 'ro', 'admin' ],
|
|
'deps': 'ConditionPathExists=/proc/xen/capabilities',
|
|
}
|
|
|
|
openrc_init_files += {
|
|
'name': 'virtxend',
|
|
'in_file': files('virtxend.init.in'),
|
|
}
|
|
|
|
sysconf_files += {
|
|
'name': 'virtxend',
|
|
'file': files('virtxend.sysconf'),
|
|
}
|
|
|
|
virt_install_dirs += [
|
|
localstatedir / 'lib' / 'libvirt' / 'libxl',
|
|
runstatedir / 'libvirt' / 'libxl',
|
|
localstatedir / 'log' / 'libvirt' / 'libxl',
|
|
]
|
|
endif
|