The virtvzd daemon will be responsible for providing the vz API
driver functionality. The vz driver is still loaded by the main
libvirtd daemon at this stage, so virtvzd must not be running at
the same time.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
.gitignore | 1 +
src/vz/Makefile.inc.am | 14 ++++++++++++++
2 files changed, 15 insertions(+)
diff --git a/.gitignore b/.gitignore
index 74d88015c8..aa7d0c19c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -175,6 +175,7 @@
/src/virtsecretd
/src/virtstoraged
/src/virtvboxd
+/src/virtvzd
/src/virt-guest-shutdown.target
/tests/*.log
/tests/*.pid
diff --git a/src/vz/Makefile.inc.am b/src/vz/Makefile.inc.am
index a3a146c627..7e1ab1bf17 100644
--- a/src/vz/Makefile.inc.am
+++ b/src/vz/Makefile.inc.am
@@ -37,4 +37,18 @@ libvirt_driver_vz_impl_la_LIBADD = \
$(PARALLELS_SDK_LIBS) \
$(LIBNL_LIBS) \
$(NULL)
+
+sbin_PROGRAMS += virtvzd
+
+virtvzd_SOURCES = $(REMOTE_DAEMON_SOURCES)
+virtvzd_CFLAGS = \
+ $(REMOTE_DAEMON_CFLAGS) \
+ -DSOCK_NAME="\"virtvzd-sock\"" \
+ -DSOCK_NAME_RO="\"virtvzd-sock-ro\"" \
+ -DSOCK_NAME_ADMIN="\"virtvzd-admin-sock\"" \
+ -DDAEMON_NAME="\"virtvzd\"" \
+ -DMODULE_NAME="\"vz\"" \
+ $(NULL)
+virtvzd_LDFLAGS = $(REMOTE_DAEMON_LDFLAGS)
+virtvzd_LDADD = $(REMOTE_DAEMON_LDADD)
endif WITH_VZ
--
2.21.0