mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
As advertised in previous commit that added the SDK header file, there were some changes to the API: 1) IVirtualBox::OpenMachine() and IVirtualBox::CreateMachine() now have @password argument to deal with password protected settings files. Well, we don't have that wired now (and we don't create such files). If we ever want to support user settings files that are password protected (e.g. via virSecret) we can wire this argument. For now, just pass NULL. 2) IMachine::GetAudioAdapter() is gone. But it can be replaced with IMachine::GetAudioSettings() + IMachine::GetAdapter() combo. Resolves: https://gitlab.com/libvirt/libvirt/-/issues/419 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
71 lines
1.2 KiB
Meson
71 lines
1.2 KiB
Meson
vbox_driver_sources = [
|
|
'vbox_V6_1.c',
|
|
'vbox_V7_0.c',
|
|
'vbox_common.c',
|
|
'vbox_driver.c',
|
|
'vbox_network.c',
|
|
'vbox_snapshot_conf.c',
|
|
'vbox_storage.c',
|
|
'vbox_XPCOMCGlue.c',
|
|
]
|
|
|
|
driver_source_files += files(
|
|
vbox_driver_sources,
|
|
'vbox_tmpl.c',
|
|
)
|
|
|
|
if conf.has('WITH_VBOX')
|
|
vbox_driver_impl = static_library(
|
|
'virt_driver_vbox_impl',
|
|
[
|
|
vbox_driver_sources,
|
|
],
|
|
c_args: [
|
|
'-DVBOX_DRIVER',
|
|
],
|
|
dependencies: [
|
|
dlopen_dep,
|
|
src_dep,
|
|
win32_dep,
|
|
],
|
|
include_directories: [
|
|
conf_inc_dir,
|
|
],
|
|
)
|
|
|
|
virt_modules += {
|
|
'name': 'virt_driver_vbox',
|
|
'link_whole': [
|
|
vbox_driver_impl,
|
|
],
|
|
'link_args': [
|
|
libvirt_no_undefined,
|
|
],
|
|
}
|
|
|
|
virt_daemons += {
|
|
'name': 'virtvboxd',
|
|
'c_args': [
|
|
'-DDAEMON_NAME="virtvboxd"',
|
|
'-DMODULE_NAME="vbox"',
|
|
],
|
|
}
|
|
|
|
virt_daemon_confs += {
|
|
'name': 'virtvboxd',
|
|
}
|
|
|
|
virt_daemon_units += {
|
|
'service': 'virtvboxd',
|
|
'service_in': files('virtvboxd.service.in'),
|
|
'name': 'Libvirt vbox',
|
|
'sockprefix': 'virtvboxd',
|
|
'sockets': [ 'main', 'ro', 'admin' ],
|
|
}
|
|
|
|
openrc_init_files += {
|
|
'name': 'virtvboxd',
|
|
'in_file': files('virtvboxd.init.in'),
|
|
}
|
|
endif
|