aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-04-12 00:33:20 -0700
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-06-04 10:02:39 +0200
commit5837a76cd2e6fe6345a4c7dcecec58f23f42a3e6 (patch)
tree427138447f87e5c9a4d7c847466e62f73b8af7de /include
parentc54c6a10884545cdc910a328fd298b316f97ff55 (diff)
downloadqemu-5837a76cd2e6fe6345a4c7dcecec58f23f42a3e6.zip
qemu-5837a76cd2e6fe6345a4c7dcecec58f23f42a3e6.tar.gz
qemu-5837a76cd2e6fe6345a4c7dcecec58f23f42a3e6.tar.bz2
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')
-rw-r--r--include/qemu/cutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/cutils.h b/include/qemu/cutils.h
index 741dade..d7715f7 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);
/*