2020-03-24 14:48:36 +00:00
|
|
|
vz_driver_sources = [
|
|
|
|
'vz_driver.c',
|
|
|
|
'vz_utils.c',
|
|
|
|
'vz_sdk.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
if conf.has('WITH_VZ')
|
|
|
|
vz_driver_impl = static_library(
|
|
|
|
'virt_driver_vz_impl',
|
|
|
|
[
|
|
|
|
vz_driver_sources,
|
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
access_dep,
|
|
|
|
libnl_dep,
|
|
|
|
parallels_sdk_dep,
|
|
|
|
src_dep,
|
|
|
|
],
|
|
|
|
include_directories: [
|
|
|
|
conf_inc_dir,
|
|
|
|
],
|
|
|
|
)
|
2020-06-22 13:42:28 +00:00
|
|
|
|
|
|
|
virt_modules += {
|
|
|
|
'name': 'virt_driver_vz',
|
|
|
|
'link_whole': [
|
|
|
|
vz_driver_impl,
|
|
|
|
],
|
|
|
|
'link_args': [
|
|
|
|
libvirt_no_undefined,
|
|
|
|
],
|
|
|
|
}
|
2020-06-22 14:58:39 +00:00
|
|
|
|
|
|
|
virt_daemons += {
|
|
|
|
'name': 'virtvzd',
|
|
|
|
'c_args': [
|
|
|
|
'-DDAEMON_NAME="virtvzd"',
|
|
|
|
'-DMODULE_NAME="vz"',
|
|
|
|
],
|
|
|
|
}
|
2020-07-28 09:54:39 +00:00
|
|
|
|
|
|
|
virt_daemon_confs += {
|
|
|
|
'name': 'virtvzd',
|
|
|
|
}
|
2020-07-27 07:03:25 +00:00
|
|
|
|
|
|
|
virt_daemon_units += {
|
|
|
|
'service': 'virtvzd',
|
|
|
|
'service_in': files('virtvzd.service.in'),
|
|
|
|
'name': 'Libvirt vz',
|
|
|
|
'sockprefix': 'virtvzd',
|
|
|
|
'sockets': [ 'main', 'ro', 'admin' ],
|
|
|
|
'conflicts': true,
|
|
|
|
}
|
2020-07-28 10:11:31 +00:00
|
|
|
|
|
|
|
openrc_init_files += {
|
|
|
|
'name': 'virtvzd',
|
|
|
|
'in_file': files('virtvzd.init.in'),
|
|
|
|
}
|
2020-03-24 14:48:36 +00:00
|
|
|
endif
|