mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-06 13:20:20 +00:00
42923b1356
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>
25 lines
379 B
Meson
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('.')
|