diff mbox

[v3,0/7] KASLR kernel dump support

Message ID CAJ+F1C+56=YZdasG6Z2sVj12RG4QrJ863=BSx1jN5hOcFCvQ-w@mail.gmail.com
State New
Headers show

Commit Message

Marc-André Lureau July 11, 2017, 1:23 p.m. UTC
Hi

On Tue, Jul 11, 2017 at 2:47 PM <no-reply@patchew.org> wrote:

> Hi,
>
> This series failed build test on s390x host. Please find the details below.
>
>
 I'll resend the series after I get a few more replies/acked/reviewed-by.

The fix should be:

Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date:   Tue Jul 11 15:14:13 2017 +0200

    stubs: add vmcoreinfo_get() stub

    Common dump code may call vmcoreinfo_get() which is not available on
    all targets.

    Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
diff mbox

Patch

diff --git a/stubs/vmcoreinfo.c b/stubs/vmcoreinfo.c
new file mode 100644
index 0000000000..a994153832
--- /dev/null
+++ b/stubs/vmcoreinfo.c
@@ -0,0 +1,9 @@ 
+#include "qemu/osdep.h"
+
+#include "hw/acpi/vmcoreinfo.h"
+
+bool vmcoreinfo_get(VMCoreInfoState *vis, uint64_t *paddr, uint32_t *size,
+                    Error **errp)
+{
+    return false;
+}
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
index f5b47bfd74..3bedc73252 100644
--- a/stubs/Makefile.objs
+++ b/stubs/Makefile.objs
@@ -36,6 +36,7 @@  stub-obj-y += qmp_pc_dimm_device_list.o
 stub-obj-y += target-monitor-defs.o
 stub-obj-y += target-get-monitor-def.o
 stub-obj-y += pc_madt_cpu_entry.o
+stub-obj-y += vmcoreinfo.o


-- 
Marc-André Lureau