2
0

dump-stub.c 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. * QEMU dump
  3. *
  4. * Copyright Fujitsu, Corp. 2011, 2012
  5. *
  6. * Authors:
  7. * Wen Congyang <wency@cn.fujitsu.com>
  8. *
  9. * This work is licensed under the terms of the GNU GPL, version 2 or later.
  10. * See the COPYING file in the top-level directory.
  11. *
  12. */
  13. #include "qemu-common.h"
  14. #include "dump.h"
  15. #include "qerror.h"
  16. #include "qmp-commands.h"
  17. /* we need this function in hmp.c */
  18. void qmp_dump_guest_memory(bool paging, const char *file, bool has_begin,
  19. int64_t begin, bool has_length, int64_t length,
  20. Error **errp)
  21. {
  22. error_set(errp, QERR_UNSUPPORTED);
  23. }
  24. int cpu_write_elf64_note(write_core_dump_function f,
  25. CPUArchState *env, int cpuid,
  26. void *opaque)
  27. {
  28. return -1;
  29. }
  30. int cpu_write_elf32_note(write_core_dump_function f,
  31. CPUArchState *env, int cpuid,
  32. void *opaque)
  33. {
  34. return -1;
  35. }
  36. int cpu_write_elf64_qemunote(write_core_dump_function f,
  37. CPUArchState *env,
  38. void *opaque)
  39. {
  40. return -1;
  41. }
  42. int cpu_write_elf32_qemunote(write_core_dump_function f,
  43. CPUArchState *env,
  44. void *opaque)
  45. {
  46. return -1;
  47. }
  48. int cpu_get_dump_info(ArchDumpInfo *info)
  49. {
  50. return -1;
  51. }
  52. ssize_t cpu_get_note_size(int class, int machine, int nr_cpus)
  53. {
  54. return -1;
  55. }