qemu/dump
Stephen Brennan e6549197f7 dump: Add command interface for kdump-raw formats
The QMP dump API represents the dump format as an enumeration. Add three
new enumerators, one for each supported kdump compression, each named
"kdump-raw-*".

For the HMP command line, rather than adding a new flag corresponding to
each format, it seems more human-friendly to add a single flag "-R" to
switch the kdump formats to "raw" mode. The choice of "-R" also
correlates nicely to the "makedumpfile -R" option, which would serve to
reassemble a flattened vmcore.

Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
[ Marc-André: replace loff_t with off_t, indent fixes ]
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230918233233.1431858-4-stephen.s.brennan@oracle.com>
2023-11-02 18:40:37 +04:00
..
dump-hmp-cmds.c dump: Add command interface for kdump-raw formats 2023-11-02 18:40:37 +04:00
dump.c dump: Add command interface for kdump-raw formats 2023-11-02 18:40:37 +04:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
win_dump.c *: Add missing includes of qemu/error-report.h 2023-03-22 15:06:57 +00:00
win_dump.h dump: Simplify compiling win_dump.o by introducing win_dump_available() 2023-02-27 22:29:02 +01:00