Skip to content

various bugfixes

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12Revert "prevent crash when executing guest-file-read with large count"qga/commands-win32.c+1 -70 replies
2/12qga: Extract guest_file_handle_find() to commands-common.hqga/commands-common.h qga/commands-posix.c qga/commands-win32.c+26 -60 replies
3/12qga: Extract qmp_guest_file_read() to common commands.cqga/commands-common.h qga/commands-posix.c qga/commands-win32.c +1 more+35 -360 replies
4/12qga: Restrict guest-file-read count to 48 MB to avoid crashesqga/commands.c qga/qapi-schema.json+12 -33 replies
5/12vhost-user-gpu: Release memory returned by vu_queue_pop() with free()contrib/vhost-user-gpu/vhost-user-gpu.c contrib/vhost-user-gpu/virgl.c+3 -31 reply
6/12hw/openrisc/pic_cpu: Use qdev gpio rather than qemu_allocate_irqs()hw/openrisc/pic_cpu.c+2 -30 replies
7/12hw/misc/grlib_ahb_apb_pnp: Avoid crash when writing to AHB PnP registershw/misc/grlib_ahb_apb_pnp.c+7 -00 replies
8/12hw/misc/grlib_ahb_apb_pnp: Fix AHB PnP 8-bit accesseshw/misc/grlib_ahb_apb_pnp.c+4 -00 replies
9/12hw/display/sm501: Avoid heap overflow in sm501_2d_operation()hw/display/sm501.c+6 -00 replies
10/12hw/block/pflash: Check return value of blk_pwrite()hw/block/pflash_cfi01.c hw/block/pflash_cfi02.c+14 -22 replies
11/12gdbstub: Do not use memset() on GByteArrayinclude/exec/gdbstub.h target/arm/gdbstub.c target/xtensa/gdbstub.c+13 -60 replies
12/12gdbstub: Introduce gdb_get_freg32() to get float32 registersinclude/exec/gdbstub.h target/sh4/gdbstub.c+14 -40 replies

Reviews trailers per patch

5 of 12 patches have a Reviewed-by or Acked-by.

PatchBALATON ZoltanKONRAD FredericPeter MaydellMarc-André LureauDaniel P. BerrangéMichael S. Tsirkin
1/12
2/12
3/12
4/12R-b
5/12R-b R-b
6/12Inspired-by
7/12R-b
8/12R-b
9/12A-b
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH-for-5.0 00/12] various bugfixes

Collection of bugfixes for 5.0.

Only vhost-user-gpu/grlib_ahb_apb_pnp patches are reviewed.

As 5.0-rc3 is tomorrow, I thought it could help to gather them and resend altogether.

Regards,

Phil.

Mansour Ahmadi (1):
hw/block/pflash: Check return value of blk_pwrite()

Philippe Mathieu-Daudé (11):
Revert "prevent crash when executing guest-file-read with large count"
qga: Extract guest_file_handle_find() to commands-common.h
qga: Extract qmp_guest_file_read() to common commands.c
qga: Restrict guest-file-read count to 48 MB to avoid crashes
vhost-user-gpu: Release memory returned by vu_queue_pop() with free() hw/openrisc/pic_cpu: Use qdev gpio rather than qemu_allocate_irqs() hw/misc/grlib_ahb_apb_pnp: Avoid crash when writing to AHB PnP
registers
hw/misc/grlib_ahb_apb_pnp: Fix AHB PnP 8-bit accesses hw/display/sm501: Avoid heap overflow in sm501_2d_operation()
gdbstub: Do not use memset() on GByteArray
gdbstub: Introduce gdb_get_freg32() to get float32 registers

 qga/qapi-schema.json                    |  6 +++--
 include/exec/gdbstub.h                  | 22 ++++++++++++++++
 qga/commands-common.h                   | 21 +++++++++++++++
 contrib/vhost-user-gpu/vhost-user-gpu.c |  4 +--
 contrib/vhost-user-gpu/virgl.c          |  2 +-
 hw/block/pflash_cfi01.c                 |  8 +++++-
 hw/block/pflash_cfi02.c                 |  8 +++++-
 hw/display/sm501.c                      |  6 +++++
 hw/misc/grlib_ahb_apb_pnp.c             | 11 ++++++++
 hw/openrisc/pic_cpu.c                   |  5 ++--
 qga/commands-posix.c                    | 29 +++++---------------
 qga/commands-win32.c                    | 35 ++++++-------------------
 qga/commands.c                          | 33 +++++++++++++++++++++++
 target/arm/gdbstub.c                    |  3 +--
 target/sh4/gdbstub.c                    |  6 ++---
 target/xtensa/gdbstub.c                 |  6 ++---
 16 files changed, 136 insertions(+), 69 deletions(-)
 create mode 100644 qga/commands-common.h
Signature · 1 line
2.21.1