[Pkg-xen-changes] [xen] 28/36: send xl coredumps /var/lib/xen/dump/NAME
Bastian Blank
waldi at moszumanska.debian.org
Sun Dec 14 21:06:37 UTC 2014
This is an automated email from the git hooks/post-receive script.
waldi pushed a commit to branch feature/4.5.0-rc3
in repository xen.
commit f1b16d718afb3270ba7284952d77c7f9641f7ead
Author: Ian Campbell <ijc at hellion.org.uk>
Date: Sun Aug 31 01:42:03 2014 +0100
send xl coredumps /var/lib/xen/dump/NAME
Patch-Name: xl-coredumps-to-var-lib-xen-dump.diff
---
docs/man/xl.cfg.pod.5 | 4 ++--
tools/Makefile | 2 +-
tools/libxl/xl_cmdimpl.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5
index 622ea53..11115ee 100644
--- a/docs/man/xl.cfg.pod.5
+++ b/docs/man/xl.cfg.pod.5
@@ -298,12 +298,12 @@ destroy`.
=item B<coredump-destroy>
-write a "coredump" of the domain to F</var/xen/dump/NAME> and then
+write a "coredump" of the domain to F</var/lib/xen/dump/NAME> and then
destroy the domain.
=item B<coredump-restart>
-write a "coredump" of the domain to F</var/xen/dump/NAME> and then
+write a "coredump" of the domain to F</var/lib/xen/dump/NAME> and then
restart the domain.
=back
diff --git a/tools/Makefile b/tools/Makefile
index af9798a..521bd2e 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -59,7 +59,7 @@ build all: subdirs-all
.PHONY: install
install: subdirs-install
- $(INSTALL_DIR) $(DESTDIR)/var/xen/dump
+ $(INSTALL_DIR) $(DESTDIR)/var/lib/xen/dump/
$(INSTALL_DIR) $(DESTDIR)/var/log/xen
$(INSTALL_DIR) $(DESTDIR)/var/lib/xen
diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
index 0e754e7..1663b2e 100644
--- a/tools/libxl/xl_cmdimpl.c
+++ b/tools/libxl/xl_cmdimpl.c
@@ -2083,7 +2083,7 @@ static int handle_domain_death(uint32_t *r_domid,
char *corefile;
int rc;
- if (asprintf(&corefile, "/var/xen/dump/%s", d_config->c_info.name) < 0) {
+ if (asprintf(&corefile, "/var/lib/xen/dump/%s", d_config->c_info.name) < 0) {
LOG("failed to construct core dump path");
} else {
LOG("dumping core to %s", corefile);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xen/xen.git
More information about the Pkg-xen-changes
mailing list