libvirt/src/hypervisor/meson.build
Daniel Henrique Barboza 42923b1356 qemu, libxl, hypervisor: use virDomainDriverNodeDeviceReset() helper
libxlNodeDeviceReset() and qemuNodeDeviceReset() are mostly equal,
differing only how the virHostdevManager pointer is retrieved.

Put the common code into virDomainDriverNodeDeviceReset() to reduce
code duplication.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2021-02-17 15:47:40 -03:00

25 lines
379 B
Meson

hypervisor_sources = [
'domain_cgroup.c',
'domain_driver.c',
'virclosecallbacks.c',
'virhostdev.c',
]
hypervisor_lib = static_library(
'virt_hypervisor',
[
hypervisor_sources,
],
dependencies: [
access_dep,
src_dep,
],
include_directories: [
conf_inc_dir,
],
)
libvirt_libs += hypervisor_lib
hypervisor_inc_dir = include_directories('.')