Displaying 2 results from an estimated 2 matches for "initial_xen".
Did you mean:
initial_mean
2013 Nov 26
1
[PATCH 3/3] makedumpfile/xen: Fail immediately if dump level is invalid
Do not try to process Xen crash dump if dump level is invalid.
Fail immediately and print relevant error message.
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
---
makedumpfile.c | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index b160cea..389efc5 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -64,6
2007 May 29
0
Fw: [RFC] makedumpfile: xen extraction
...FBITMAP, 1);
+ }
+ }
+ }
+
+ /*
+ * Write the remainder of the bitmap.
+ */
+ remain_size = info->len_bitmap - bm2.offset;
+ bm2.buf_size = remain_size;
+ if (!write_cache_bufsz(&bm2))
+ goto out;
+
+ ret = TRUE;
+out:
+ if (bm2.buf != NULL)
+ free(bm2.buf);
+
+ return ret;
+}
+
+int
+initial_xen(struct DumpInfo *info)
+{
+ if (!get_elf_info(info))
+ return FALSE;
+
+ if (!get_symbol_info_xen(info))
+ return FALSE;
+
+ if (!get_structure_info_xen(info))
+ return FALSE;
+
+ if (!get_xen_info(info))
+ return FALSE;
+
+ if (info->flag_debug)
+ show_data_xen(info);
+
+ return TRUE;
+}
+...