qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 02/27] util/hexdump: Remove ascii parameter from qemu_hexd


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 02/27] util/hexdump: Remove ascii parameter from qemu_hexdump_line
Date: Fri, 12 Apr 2024 12:03:06 +0200
User-agent: Mozilla Thunderbird

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.henderson@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é <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]