提交 25c29ac2 编写于 作者: J Ján Tomko

virclosecallbacks: move to src/hypervisor

Just like virhostdev, this depends on domain_conf and
it's shared by multiple hypervisor drivers.
Signed-off-by: NJán Tomko <jtomko@redhat.com>
Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
上级 a504a3c3
...@@ -2118,9 +2118,6 @@ exclude_file_name_regexp--sc_prohibit_pthread_create = \ ...@@ -2118,9 +2118,6 @@ exclude_file_name_regexp--sc_prohibit_pthread_create = \
exclude_file_name_regexp--sc_prohibit_readdir = \ exclude_file_name_regexp--sc_prohibit_readdir = \
^(tests/(.*mock|virfilewrapper)\.c|tools/nss/libvirt_nss\.c)$$ ^(tests/(.*mock|virfilewrapper)\.c|tools/nss/libvirt_nss\.c)$$
exclude_file_name_regexp--sc_prohibit_cross_inclusion = \
^(src/util/virclosecallbacks\.h)$$
exclude_file_name_regexp--sc_prohibit_dirent_d_type = \ exclude_file_name_regexp--sc_prohibit_dirent_d_type = \
^(src/util/vircgroup.c)$ ^(src/util/vircgroup.c)$
......
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
@SRCDIR@/src/hyperv/hyperv_wmi.c @SRCDIR@/src/hyperv/hyperv_wmi.c
@SRCDIR@/src/hypervisor/domain_cgroup.c @SRCDIR@/src/hypervisor/domain_cgroup.c
@SRCDIR@/src/hypervisor/domain_driver.c @SRCDIR@/src/hypervisor/domain_driver.c
@SRCDIR@/src/hypervisor/virclosecallbacks.c
@SRCDIR@/src/hypervisor/virhostdev.c @SRCDIR@/src/hypervisor/virhostdev.c
@SRCDIR@/src/interface/interface_backend_netcf.c @SRCDIR@/src/interface/interface_backend_netcf.c
@SRCDIR@/src/interface/interface_backend_udev.c @SRCDIR@/src/interface/interface_backend_udev.c
...@@ -232,7 +233,6 @@ ...@@ -232,7 +233,6 @@
@SRCDIR@/src/util/vircgroupv1.c @SRCDIR@/src/util/vircgroupv1.c
@SRCDIR@/src/util/vircgroupv2.c @SRCDIR@/src/util/vircgroupv2.c
@SRCDIR@/src/util/vircgroupv2devices.c @SRCDIR@/src/util/vircgroupv2devices.c
@SRCDIR@/src/util/virclosecallbacks.c
@SRCDIR@/src/util/vircommand.c @SRCDIR@/src/util/vircommand.c
@SRCDIR@/src/util/virconf.c @SRCDIR@/src/util/virconf.c
@SRCDIR@/src/util/vircrypto.c @SRCDIR@/src/util/vircrypto.c
......
...@@ -43,6 +43,7 @@ libvirt_driver_bhyve_impl_la_CFLAGS = \ ...@@ -43,6 +43,7 @@ libvirt_driver_bhyve_impl_la_CFLAGS = \
-I$(srcdir)/access \ -I$(srcdir)/access \
-I$(builddir)/access \ -I$(builddir)/access \
-I$(srcdir)/conf \ -I$(srcdir)/conf \
-I$(srcdir)/hypervisor \
$(AM_CFLAGS) \ $(AM_CFLAGS) \
$(NULL) $(NULL)
libvirt_driver_bhyve_impl_la_LDFLAGS = $(AM_LDFLAGS) libvirt_driver_bhyve_impl_la_LDFLAGS = $(AM_LDFLAGS)
......
...@@ -5,6 +5,8 @@ HYPERVISOR_SOURCES = \ ...@@ -5,6 +5,8 @@ HYPERVISOR_SOURCES = \
hypervisor/domain_cgroup.c \ hypervisor/domain_cgroup.c \
hypervisor/domain_driver.h \ hypervisor/domain_driver.h \
hypervisor/domain_driver.c \ hypervisor/domain_driver.c \
hypervisor/virclosecallbacks.h \
hypervisor/virclosecallbacks.c \
hypervisor/virhostdev.h \ hypervisor/virhostdev.h \
hypervisor/virhostdev.c \ hypervisor/virhostdev.c \
$(NULL) $(NULL)
......
...@@ -1406,6 +1406,15 @@ virDomainDriverParseBlkioDeviceStr; ...@@ -1406,6 +1406,15 @@ virDomainDriverParseBlkioDeviceStr;
virDomainDriverSetupPersistentDefBlkioParams; virDomainDriverSetupPersistentDefBlkioParams;
# hypervisor/virclosecallbacks.h
virCloseCallbacksGet;
virCloseCallbacksGetConn;
virCloseCallbacksNew;
virCloseCallbacksRun;
virCloseCallbacksSet;
virCloseCallbacksUnset;
# hypervisor/virhostdev.h # hypervisor/virhostdev.h
virHostdevFindUSBDevice; virHostdevFindUSBDevice;
virHostdevManagerGetDefault; virHostdevManagerGetDefault;
...@@ -1798,14 +1807,6 @@ virCgroupV2DevicesGetPerms; ...@@ -1798,14 +1807,6 @@ virCgroupV2DevicesGetPerms;
virCgroupV2DevicesPrepareProg; virCgroupV2DevicesPrepareProg;
virCgroupV2DevicesRemoveProg; virCgroupV2DevicesRemoveProg;
# util/virclosecallbacks.h
virCloseCallbacksGet;
virCloseCallbacksGetConn;
virCloseCallbacksNew;
virCloseCallbacksRun;
virCloseCallbacksSet;
virCloseCallbacksUnset;
# util/vircommand.h # util/vircommand.h
virCommandAbort; virCommandAbort;
virCommandAddArg; virCommandAddArg;
......
...@@ -35,8 +35,6 @@ UTIL_SOURCES = \ ...@@ -35,8 +35,6 @@ UTIL_SOURCES = \
util/vircgroupv2.h \ util/vircgroupv2.h \
util/vircgroupv2devices.c \ util/vircgroupv2devices.c \
util/vircgroupv2devices.h \ util/vircgroupv2devices.h \
util/virclosecallbacks.c \
util/virclosecallbacks.h \
util/vircommand.c \ util/vircommand.c \
util/vircommand.h \ util/vircommand.h \
util/vircommandpriv.h \ util/vircommandpriv.h \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册