[PULL 00/16] sprintf fixes

Richard Henderson posted 16 patches 5 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240605211521.577094-1-richard.henderson@linaro.org
Maintainers: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <Alistair.Francis@wdc.com>, Peter Maydell <peter.maydell@linaro.org>, John Snow <jsnow@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Aurelien Jarno <aurelien@aurel32.net>, Paolo Bonzini <pbonzini@redhat.com>, Fam Zheng <fam@euphon.net>, "Michael S. Tsirkin" <mst@redhat.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>
include/qemu/cutils.h  |  19 +-
disas/microblaze.c     | 551 +++++++++++++++++++++----------------------------
disas/riscv.c          | 209 +++++++++----------
hw/dma/pl330.c         |  23 +--
hw/ide/atapi.c         |  12 +-
hw/mips/malta.c        |  25 +--
hw/scsi/scsi-disk.c    |  13 +-
hw/virtio/vhost-vdpa.c |  14 +-
system/qtest.c         |  12 +-
util/hexdump.c         |  57 +++--
10 files changed, 418 insertions(+), 517 deletions(-)
[PULL 00/16] sprintf fixes
Posted by Richard Henderson 5 months, 3 weeks ago
The following changes since commit f1572ab94738bd5787b7badcd4bd93a3657f0680:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-06-05 07:45:23 -0700)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-misc-20240605

for you to fetch changes up to b89fb575fd467ed5dfde4608d51c47c2aa427f30:

  disas/riscv: Use GString in format_inst (2024-06-05 12:29:54 -0700)

----------------------------------------------------------------
util/hexdump: Use a GString for qemu_hexdump_line.
system/qtest: Replace sprintf by qemu_hexdump_line
hw/scsi/scsi-disk: Use qemu_hexdump_line to avoid sprintf
hw/ide/atapi: Use qemu_hexdump_line to avoid sprintf
hw/dma/pl330: Use qemu_hexdump_line to avoid sprintf
disas/microblaze: Reorg to avoid intermediate sprintf
disas/riscv: Use GString in format_inst

----------------------------------------------------------------
Philippe Mathieu-Daudé (5):
      hw/mips/malta: Add re-usable rng_seed_hex_new() method
      system/qtest: Replace sprintf by qemu_hexdump_line
      hw/scsi/scsi-disk: Use qemu_hexdump_line to avoid sprintf
      hw/ide/atapi: Use qemu_hexdump_line to avoid sprintf
      hw/dma/pl330: Use qemu_hexdump_line to avoid sprintf

Richard Henderson (11):
      util/hexdump: Use a GString for qemu_hexdump_line
      util/hexdump: Add unit_len and block_len to qemu_hexdump_line
      util/hexdump: Inline g_string_append_printf "%02x"
      disas/microblaze: Split out print_immval_addr
      disas/microblaze: Re-indent print_insn_microblaze
      disas/microblaze: Merge op->name output into each fprintf
      disas/microblaze: Print registers directly with PRIreg
      disas/microblaze: Print immediates directly with PRIimm
      disas/microblaze: Print registers directly with PRIrfsl
      disas/microblaze: Split get_field_special
      disas/riscv: Use GString in format_inst

 include/qemu/cutils.h  |  19 +-
 disas/microblaze.c     | 551 +++++++++++++++++++++----------------------------
 disas/riscv.c          | 209 +++++++++----------
 hw/dma/pl330.c         |  23 +--
 hw/ide/atapi.c         |  12 +-
 hw/mips/malta.c        |  25 +--
 hw/scsi/scsi-disk.c    |  13 +-
 hw/virtio/vhost-vdpa.c |  14 +-
 system/qtest.c         |  12 +-
 util/hexdump.c         |  57 +++--
 10 files changed, 418 insertions(+), 517 deletions(-)

Re: [PULL 00/16] sprintf fixes
Posted by Richard Henderson 5 months, 3 weeks ago
On 6/5/24 14:15, Richard Henderson wrote:
> The following changes since commit f1572ab94738bd5787b7badcd4bd93a3657f0680:
> 
>    Merge tag 'for-upstream' ofhttps://gitlab.com/bonzini/qemu  into staging (2024-06-05 07:45:23 -0700)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/rth7680/qemu.git  tags/pull-misc-20240605
> 
> for you to fetch changes up to b89fb575fd467ed5dfde4608d51c47c2aa427f30:
> 
>    disas/riscv: Use GString in format_inst (2024-06-05 12:29:54 -0700)
> 
> ----------------------------------------------------------------
> util/hexdump: Use a GString for qemu_hexdump_line.
> system/qtest: Replace sprintf by qemu_hexdump_line
> hw/scsi/scsi-disk: Use qemu_hexdump_line to avoid sprintf
> hw/ide/atapi: Use qemu_hexdump_line to avoid sprintf
> hw/dma/pl330: Use qemu_hexdump_line to avoid sprintf
> disas/microblaze: Reorg to avoid intermediate sprintf
> disas/riscv: Use GString in format_inst

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.


r~