mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/hotplug: Use XEN_RUN_DIR instead of /var/run/xen
Also remove duplicate XEN_RUN_DIR from m4/paths.m4. Signed-off-by: Olaf Hering <olaf@aepfle.de> Acked-by: Ian Campbell <ian.campbell@citrix.com> Cc: Ian Campbell <ian.campbell@citrix.com> Cc: Ian Jackson <ian.jackson@eu.citrix.com> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Cc: Wei Liu <wei.liu2@citrix.com> [ ijc -- ran autogen.sh as requested ]
This commit is contained in:
1 parent
2d174ed71c
commit
f049ce7bf2
4 files changed
+1
-10
No files matched your search
@@ -1961,9 +1961,6 @@ case "$host_os" in
|
||||
esac
|
||||
|
||||
|
||||
XEN_RUN_DIR=$localstatedir/run/xen
|
||||
|
||||
|
||||
XEN_PAGING_DIR=$localstatedir/lib/xen/xenpaging
|
||||
|
||||
|
||||
|
||||
@@ -108,9 +108,6 @@ case "$host_os" in
|
||||
esac
|
||||
AC_SUBST(XEN_LOCK_DIR)
|
||||
|
||||
XEN_RUN_DIR=$localstatedir/run/xen
|
||||
AC_SUBST(XEN_RUN_DIR)
|
||||
|
||||
XEN_PAGING_DIR=$localstatedir/lib/xen/xenpaging
|
||||
AC_SUBST(XEN_PAGING_DIR)
|
||||
])
|
||||
Vendored
-3
@@ -3805,9 +3805,6 @@ case "$host_os" in
|
||||
esac
|
||||
|
||||
|
||||
XEN_RUN_DIR=$localstatedir/run/xen
|
||||
|
||||
|
||||
XEN_PAGING_DIR=$localstatedir/lib/xen/xenpaging
|
||||
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ EnvironmentFile=-/etc/default/xenstored
|
||||
EnvironmentFile=-/etc/sysconfig/xenstored
|
||||
PIDFile=@XEN_RUN_DIR@/qemu-dom0.pid
|
||||
ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities
|
||||
ExecStartPre=/bin/mkdir -p /var/run/xen
|
||||
ExecStartPre=/bin/mkdir -p @XEN_RUN_DIR@
|
||||
ExecStart=@LIBEXEC_BIN@/qemu-system-i386 -xen-domid 0 \
|
||||
-xen-attach -name dom0 -nographic -M xenpv -daemonize \
|
||||
-monitor /dev/null -serial /dev/null -parallel /dev/null \
|
||||
|
||||