diff options
author | Stephen Brennan <stephen.s.brennan@oracle.com> | 2023-09-18 16:32:33 -0700 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-11-02 18:40:37 +0400 |
commit | e6549197f7edf2c590894f51aaed2fa81991becc (patch) | |
tree | cf7941957e3da37668417166a16b1fbb3228b85c /include/hw/qdev-properties-system.h | |
parent | d43a01db285fd10f9c429476eb9c63fa5e00f3cc (diff) |
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>
Diffstat (limited to 'include/hw/qdev-properties-system.h')
0 files changed, 0 insertions, 0 deletions