Home
last modified time | relevance | path

Searched full:dump (Results 1 – 25 of 174) sorted by relevance

1234567

/qemu/qapi/
H A Ddump.json8 # = Dump guest memory
14 # An enumeration of guest-memory-dump's format.
49 # @dump-guest-memory:
51 # Dump guest's memory to vmcore. It is a synchronous operation that
79 # for the dump to finish. The user can track progress using
80 # "query-dump". (since 2.6).
85 # to dump all guest's memory, please specify the start @begin and
88 # @format: if specified, the format of guest memory dump. But non-elf
99 # -> { "execute": "dump-guest-memory",
100 # "arguments": { "paging": false, "protocol": "fd:dump" } }
[all …]
/qemu/include/system/
H A Ddump.h2 * QEMU dump
17 #include "qapi/qapi-types-dump.h"
42 #include "system/dump-arch.h"
67 uint32_t header_version; /* Dump header version */
77 uint32_t device_blocks; /* Number of total blocks in dump device */
79 uint32_t current_cpu; /* CPU# which handles dump */
85 uint32_t header_version; /* Dump header version */
95 uint32_t device_blocks; /* Number of total blocks in dump device */
97 uint32_t current_cpu; /* CPU# which handles dump */
140 DumpState *state; /* dump state related to this data */
[all …]
/qemu/dump/
H A Dwin_dump.c12 #include "system/dump.h"
62 error_setg(errp, "win-dump: failed to map physical range" in write_run()
71 error_setg_errno(errp, eno, "win-dump: failed to save memory"); in write_run()
120 error_setg(errp, "win-dump: failed to read MmPfnDatabase"); in patch_mm_pfn_database()
132 error_setg(errp, "win-dump: failed to read KiBugcheckData"); in patch_bugcheck_data()
139 error_setg(errp, "win-dump: failed to read bugcheck data"); in patch_bugcheck_data()
185 error_setg(errp, "win-dump: invalid header, expected '%.4s'," in check_header()
190 if (!memcmp(h->ValidDump, "DUMP", sizeof(h->ValidDump))) { in check_header()
195 error_setg(errp, "win-dump: invalid header, expected 'DUMP' or 'DU64'," in check_header()
214 error_setg(errp, "win-dump: failed to read OwnerTag"); in check_kdbg()
[all …]
H A Ddump.c2 * QEMU dump
20 #include "system/dump.h"
24 #include "qapi/qapi-commands-dump.h"
25 #include "qapi/qapi-events-dump.h"
213 error_setg_errno(errp, -ret, "dump: failed to write elf header"); in write_elf_header()
237 "dump: failed to write program header table"); in write_elf64_load()
262 "dump: failed to write program header table"); in write_elf32_load()
290 error_setg(errp, "dump: failed to write guest note"); in write_guest_note()
306 error_setg(errp, "dump: failed to write elf notes"); in write_elf64_notes()
314 error_setg(errp, "dump: failed to write CPU status"); in write_elf64_notes()
[all …]
H A Dmeson.build1 system_ss.add([files('dump.c', 'dump-hmp-cmds.c'), snappy, lzo])
H A Dwin_dump.h14 #include "system/dump.h"
16 /* Check Windows dump availability for the current target */
/qemu/tests/qemu-iotests/
H A Dqcow2_format.py96 - format (format_spec to use with .format() when dump or 'mask' to dump
121 def dump(self, is_json=False): member in Qcow2Struct
164 def dump(self): member in Qcow2BitmapExt
165 super().dump()
168 entry.dump()
208 def dump(self): member in Qcow2BitmapDirEntry
210 super(Qcow2BitmapDirEntry, self).dump()
211 self.bitmap_table.dump()
260 def dump(self): member in Qcow2BitmapTable
345 def dump(self): member in QcowHeaderExtension
[all …]
H A Dqcow2.py34 h.dump(is_json)
126 ['dump-header', cmd_dump_header, 0,
127 'Dump image header and header extensions'],
128 ['dump-header-exts', cmd_dump_header_exts, 0,
129 'Dump image header extensions'],
164 print(" %-20s - %s" % ('-j', 'Dump in JSON format'))
H A D242.out7 qemu-img info dump:
29 qemu-img info dump:
63 qemu-img info dump:
105 qemu-img info dump:
H A D03662 $PYTHON qcow2.py "$TEST_IMG" dump-header-exts
111 $PYTHON qcow2.py "$TEST_IMG" dump-header-exts
119 $PYTHON qcow2.py "$TEST_IMG" dump-header-exts
/qemu/target/s390x/
H A Darch_dump.c19 #include "system/dump.h"
283 /* PV dump section size functions */
299 /* PV dump section data functions*/
383 * We only do a PV dump if we are running a PV guest, KVM supports in arch_sections_add()
384 * the dump API and we got valid dump length information. in arch_sections_add()
392 * Start the UV dump process by doing the initialize dump call via in arch_sections_add()
399 * Dump init failed, maybe the guest owner disabled dumping. in arch_sections_add()
400 * We'll continue the non-PV dump process since this is no in arch_sections_add()
413 * After the PV dump has been initialized, the CPU data has been
459 * This is evaluated for each dump so we can freely switch in cpu_get_dump_info()
/qemu/monitor/
H A Dqmp-cmds.c52 /* if there is a dump in background, we should wait until the dump in qmp_stop()
55 error_setg(errp, "There is a dump in process, please wait."); in qmp_stop()
72 /* if there is a dump in background, we should wait until the dump in qmp_cont()
75 error_setg(errp, "There is a dump in process, please wait."); in qmp_cont()
/qemu/scripts/
H A Danalyze-migration.py733 parser.add_argument("-f", "--file", help='migration dump to read from', required=True)
734 parser.add_argument("-m", "--memory", help='dump RAM contents as well', action='store_true')
735 parser.add_argument("-d", "--dump", help='what to dump ("state" or "desc")', default='state')
741 if not any([args.extract, args.dump == "state", args.dump == "desc"]):
745 dump = MigrationDump(args.file) variable
748 dump.read(desc_only = True)
753 f.write(jsonenc.encode(dump.vmsd_desc))
756 dump.read(write_memory = True)
757 dict = dump.getDict()
763 elif args.dump == "state":
[all …]
H A Ddump-guest-memory.py2 This python script adds a new gdb command, "dump-guest-memory". It
3 should be loaded with "source dump-guest-memory.py" at the (gdb)
22 raise gdb.GdbError("Symbols must be loaded prior to sourcing dump-guest-memory.\n"
142 """Adds a vmcoreinfo note to the ELF dump."""
180 Dump contents
478 This GDB command reimplements the dump-guest-memory QMP command in
481 command line option "-machine dump-guest-core=on" which is the default.
504 super(DumpGuestMemory, self).__init__("dump-guest-memory",
583 # not dump the same multi-gig coredump to the same file.
588 raise gdb.GdbError("usage: dump-guest-memory FILE ARCH")
/qemu/scripts/kvm/
H A Dkvm_flightrecorder22 # To dump the contents of the flight recorder (this can be done when the
25 # sudo kvm_flightrecorder dump >/path/to/dump.txt
80 print('Usage: %s start [buffer_size_kb] | stop | dump | tail' % sys.argv[0])
118 elif cmd == 'dump':
/qemu/contrib/elf2dmp/
H A Dqemu_elf.c138 eprintf("Invalid input dump file size\n"); in check_ehdr()
159 eprintf("Invalid input dump architecture, only x86_64 is supported\n"); in check_ehdr()
169 * ELF dump file must contain one PT_NOTE and at least one PT_LOAD to in check_ehdr()
197 eprintf("Failed to open ELF dump file \'%s\'\n", filename); in QEMU_Elf_map()
202 eprintf("Failed to get size of ELF dump file\n"); in QEMU_Elf_map()
224 eprintf("Failed to map ELF dump file \'%s\'\n", filename); in QEMU_Elf_map()
/qemu/
H A Dhmp-commands.hx457 .help = "virtual memory dump starting at 'addr'",
463 Virtual memory dump starting at *addr*.
470 .help = "physical memory dump starting at 'addr'",
476 Physical memory dump starting at *addr*.
493 Dump 10 instructions at the current instruction pointer::
507 Dump 80 16 bit values at the start of the video memory::
806 .help = "save to disk virtual memory dump starting at 'addr' of size 'size'",
812 save to disk virtual memory dump starting at *addr* of size *size*.
819 .help = "save to disk physical memory dump starting at 'addr' of size 'size'",
825 save to disk physical memory dump starting at *addr* of size *size*.
[all …]
H A Dhmp-commands-info.hx233 .help = "show memory tree (-f: dump flat view for address spaces;"
234 "-d: dump dispatch tree, valid with -f only);"
235 "-o: dump region owners/parents;"
236 "-D: dump disabled regions",
480 .help = "show migration status (-a: all, dump all status)",
734 .name = "dump",
737 .help = "Display the latest dump status",
742 ``info dump``
743 Display the latest dump status.
756 Dump all the ramblocks of the system.
/qemu/include/tcg/
H A Dperf.h2 * Linux perf perf-<pid>.map and jit-<pid>.dump integration.
14 /* Start writing jit-<pid>.dump. */
24 /* Stop writing perf-<pid>.map and/or jit-<pid>.dump. */
/qemu/net/
H A Ddump.c91 error_report("network dump write error - stopping dump"); in dump_receive_iov()
114 error_setg_errno(errp, errno, "net dump: can't open %s", filename); in net_dump_state_init()
127 error_setg_errno(errp, errno, "net dump write error"); in net_dump_state_init()
141 #define TYPE_FILTER_DUMP "filter-dump"
175 error_setg(errp, "dump filter needs 'file' property set!"); in filter_dump_setup()
/qemu/tests/functional/
H A Dreplay_kernel.py60 logger.info('successfully tested replay-dump.py')
70 subprocess.check_call(["./scripts/replay-dump.py",
74 self.fail('replay-dump.py failed')
/qemu/backends/
H A Dhostmem.c197 return backend->dump; in host_memory_backend_get_dump()
208 assert(backend->dump); in host_memory_backend_set_dump()
213 value != backend->dump) { in host_memory_backend_set_dump()
221 backend->dump = value; in host_memory_backend_set_dump()
290 backend->dump = machine_dump_guest_core(machine); in host_memory_backend_init()
363 if (!backend->dump) { in host_memory_backend_memory_complete()
516 object_class_property_add_bool(oc, "dump", in host_memory_backend_class_init()
519 object_class_property_set_description(oc, "dump", in host_memory_backend_class_init()
520 "Set to 'off' to exclude from core dump"); in host_memory_backend_class_init()
/qemu/stubs/
H A Ddump.c2 * QEMU dump
15 #include "system/dump-arch.h"
/qemu/tests/functional/acpi-bits/bits-config/
H A Dbits-cfg.txt9 # acpi: Dump all ACPI structures.
10 # smbios: Dump all SMBIOS structures.
/qemu/target/s390x/kvm/
H A Dpv.c81 /* Info API's first user is dump so they are bundled */ in s390_pv_query_info()
95 info.header.len_max = sizeof(info.header) + sizeof(info.dump); in s390_pv_query_info()
103 memcpy(&info_dump, &info.dump, sizeof(info.dump)); in s390_pv_query_info()
261 error_report("KVM DUMP command %ld failed", subcmd); in s390_pv_dump_cmd()

1234567