2012-06-07 08:22:56 +02:00
|
|
|
/*
|
|
|
|
* QEMU dump
|
|
|
|
*
|
|
|
|
* Copyright Fujitsu, Corp. 2011, 2012
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Wen Congyang <wency@cn.fujitsu.com>
|
|
|
|
*
|
2012-06-10 21:34:04 +02:00
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
|
|
* See the COPYING file in the top-level directory.
|
2012-06-07 08:22:56 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "qemu-common.h"
|
2012-12-17 18:20:04 +01:00
|
|
|
#include "sysemu/dump.h"
|
2012-12-17 18:19:43 +01:00
|
|
|
#include "qapi/qmp/qerror.h"
|
2012-06-07 08:22:56 +02:00
|
|
|
#include "qmp-commands.h"
|
|
|
|
|
|
|
|
/* we need this function in hmp.c */
|
|
|
|
void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin,
|
|
|
|
int64_t begin, bool has_length, int64_t length,
|
|
|
|
Error **errp)
|
|
|
|
{
|
|
|
|
error_set(errp, QERR_UNSUPPORTED);
|
|
|
|
}
|
|
|
|
|
|
|
|
int cpu_get_dump_info(ArchDumpInfo *info)
|
|
|
|
{
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
ssize_t cpu_get_note_size(int class, int machine, int nr_cpus)
|
|
|
|
{
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|