On 12/4/24 09:33, Richard Henderson wrote:
Split out asciidump_line as a separate function, local to hexdump.c,
for use by qemu_hexdump.  Use "%-*s" to generate the alignment
between the hex and the ascii, rather than explicit spaces.

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  include/qemu/cutils.h  |  3 +--
  hw/virtio/vhost-vdpa.c |  2 +-
  util/hexdump.c         | 54 ++++++++++++++++++++++++------------------
  3 files changed, 33 insertions(+), 26 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to