2020-06-17 23:09:06 +00:00
|
|
|
bhyve_sources = files(
|
|
|
|
'bhyve_capabilities.c',
|
|
|
|
'bhyve_command.c',
|
|
|
|
'bhyve_conf.c',
|
|
|
|
'bhyve_parse_command.c',
|
|
|
|
'bhyve_device.c',
|
|
|
|
'bhyve_domain.c',
|
|
|
|
'bhyve_driver.c',
|
|
|
|
'bhyve_monitor.c',
|
|
|
|
'bhyve_process.c',
|
|
|
|
)
|
|
|
|
|
2020-07-27 07:10:31 +00:00
|
|
|
driver_source_files += bhyve_sources
|
|
|
|
|
2020-06-17 23:09:06 +00:00
|
|
|
if conf.has('WITH_BHYVE')
|
|
|
|
bhyve_driver_impl = static_library(
|
|
|
|
'virt_driver_bhyve_impl',
|
|
|
|
[
|
|
|
|
bhyve_sources,
|
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
access_dep,
|
|
|
|
src_dep,
|
|
|
|
],
|
|
|
|
include_directories: [
|
|
|
|
conf_inc_dir,
|
|
|
|
hypervisor_inc_dir,
|
|
|
|
],
|
|
|
|
)
|
2020-06-22 12:47:19 +00:00
|
|
|
|
|
|
|
virt_modules += {
|
|
|
|
'name': 'virt_driver_bhyve',
|
|
|
|
'link_whole': [
|
|
|
|
bhyve_driver_impl,
|
|
|
|
],
|
|
|
|
'link_args': [
|
|
|
|
libvirt_no_undefined,
|
|
|
|
],
|
|
|
|
}
|
2020-06-22 14:29:23 +00:00
|
|
|
|
|
|
|
virt_daemons += {
|
|
|
|
'name': 'virtbhyved',
|
|
|
|
'c_args': [
|
|
|
|
'-DDAEMON_NAME="virtbhyved"',
|
|
|
|
'-DMODULE_NAME="bhyve"'
|
|
|
|
],
|
|
|
|
}
|
2020-07-27 06:52:17 +00:00
|
|
|
|
|
|
|
virt_conf_files += files('bhyve.conf')
|
|
|
|
virt_aug_files += files('libvirtd_bhyve.aug')
|
2020-06-22 16:04:48 +00:00
|
|
|
virt_test_aug_files += {
|
|
|
|
'name': 'test_libvirtd_bhyve.aug',
|
|
|
|
'aug': files('test_libvirtd_bhyve.aug.in'),
|
|
|
|
'conf': files('bhyve.conf'),
|
|
|
|
}
|
2020-07-28 09:54:39 +00:00
|
|
|
|
|
|
|
virt_daemon_confs += {
|
|
|
|
'name': 'virtbhyved',
|
|
|
|
}
|
2020-06-17 23:09:06 +00:00
|
|
|
endif
|