diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-04-12 00:33:20 -0700 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-06-04 10:02:39 +0200 |
| commit | 5837a76cd2e6fe6345a4c7dcecec58f23f42a3e6 (patch) | |
| tree | 427138447f87e5c9a4d7c847466e62f73b8af7de /include/qemu/cutils.h | |
| parent | c54c6a10884545cdc910a328fd298b316f97ff55 (diff) | |
| download | focaccia-qemu-5837a76cd2e6fe6345a4c7dcecec58f23f42a3e6.tar.gz focaccia-qemu-5837a76cd2e6fe6345a4c7dcecec58f23f42a3e6.zip | |
util/hexdump: Remove b parameter from qemu_hexdump_line
Require that the caller output the offset and increment bufptr. Use QEMU_HEXDUMP_LINE_BYTES in vhost_vdpa_dump_config instead of raw integer. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240412073346.458116-2-richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include/qemu/cutils.h')
| -rw-r--r-- | include/qemu/cutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/cutils.h b/include/qemu/cutils.h index 741dade7cf..d7715f7a33 100644 --- a/include/qemu/cutils.h +++ b/include/qemu/cutils.h @@ -287,7 +287,7 @@ int parse_debug_env(const char *name, int max, int initial); */ #define QEMU_HEXDUMP_LINE_BYTES 16 /* Number of bytes to dump */ #define QEMU_HEXDUMP_LINE_LEN 75 /* Number of characters in line */ -void qemu_hexdump_line(char *line, unsigned int b, const void *bufptr, +void qemu_hexdump_line(char *line, const void *bufptr, unsigned int len, bool ascii); /* |