File makedumpfile-xen-non-elf-doc.patch of Package makedumpfile

From: Petr Tesarik <ptesarik@suse.com>
Subject: Remove notes about ELF being the only available format for Xen dumps
References: FATE#316467
Patch-mainline: v1.5.9

Since Xen dumps can now be stored in compressed formats, adjust documentation
that claims the opposite.

Signed-off-by: Petr Tesarik <ptesarik@suse.com>

---
 makedumpfile.8 |    5 +----
 print_info.c   |    2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)

--- a/makedumpfile.8
+++ b/makedumpfile.8
@@ -16,7 +16,7 @@ makedumpfile \- make a small dumpfile of
 .br
 \fBmakedumpfile\fR \-g \fIVMCOREINFO\fR \-x \fIVMLINUX\fR
 .br
-\fBmakedumpfile\fR \-E [\-\-xen-syms \fIXEN-SYMS\fR|\-\-xen-vmcoreinfo \fIVMCOREINFO\fR] \fIVMCORE\fR \fIDUMPFILE\fR
+\fBmakedumpfile\fR    [\fIOPTION\fR] [\-\-xen-syms \fIXEN-SYMS\fR|\-\-xen-vmcoreinfo \fIVMCOREINFO\fR] \fIVMCORE\fR \fIDUMPFILE\fR
 .br
 \fBmakedumpfile\fR \-\-dump-dmesg [\-x \fIVMLINUX\fR|\-i \fIVMCOREINFO\fR] \fIVMCORE\fR \fILOGFILE\fR
 .br
@@ -409,7 +409,6 @@ This option is mainly for debugging.
 \fB\-\-xen-syms\fR \fIXEN-SYMS\fR
 Specify the \fIXEN-SYMS\fR with debug information to analyze the xen's memory usage.
 This option extracts the part of xen and domain-0.
-\-E option must be specified with this option.
 .br
 .B Example:
 .br
@@ -421,7 +420,6 @@ Specify \fIVMCOREINFO\fR instead of \fIX
 .br
 \fIVMCOREINFO\fR should be made beforehand by makedumpfile with \-g option, and
 it contains the xen's information.
-\-E option must be specified with this option.
 .br
 .B Example:
 .br
@@ -432,7 +430,6 @@ it contains the xen's information.
 Exclude all the user domain pages from Xen kdump's \fIVMCORE\fR, and extracts the
 part of xen and domain-0. If \fIVMCORE\fR contains \fIVMCOREINFO\fR for Xen, it is
 not necessary to specify \fI\-\-xen-syms\fR and \fI\-\-xen-vmcoreinfo\fR.
-\-E option must be specified with this option.
 .br
 .B Example:
 .br
--- a/print_info.c
+++ b/print_info.c
@@ -87,7 +87,7 @@ print_usage(void)
 	MSG("\n");
 	MSG("\n");
 	MSG("  Creating DUMPFILE of Xen:\n");
-	MSG("  # makedumpfile -E [--xen-syms XEN-SYMS|--xen-vmcoreinfo VMCOREINFO] VMCORE DUMPFILE\n");
+	MSG("  # makedumpfile [-c|-l|-p|-E] [--xen-syms XEN-SYMS|--xen-vmcoreinfo VMCOREINFO] VMCORE DUMPFILE\n");
 	MSG("\n");
 	MSG("  Generating VMCOREINFO of Xen:\n");
 	MSG("  # makedumpfile -g VMCOREINFO --xen-syms XEN-SYMS\n");
openSUSE Build Service is sponsored by