Skip to content

vfio: memory leak fix and code cleanup

Zhenzhong Duan qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vfio/pci: Fix a potential memory leak in vfio_listener_region_addhw/vfio/common.c+1 -10 replies
2/3vfio/ap: Remove pointless apdev variablehw/vfio/ap.c+3 -62 replies
3/3vfio/ccw: Remove redundant definition of TYPE_VFIO_CCWinclude/hw/s390x/vfio-ccw.h+0 -23 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéTony KrowiakEric Farman
1/3
2/3R-b R-b
3/3R-b R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] vfio: memory leak fix and code cleanup

Hi,

This trivial patchset fixes a incremental memory leak in rare case, and some cleanup on ap/ccw.

This patchset is based on vfio-next.

Thanks
Zhenzhong

Zhenzhong Duan (3):
vfio/pci: Fix a potential memory leak in vfio_listener_region_add vfio/ap: Remove pointless apdev variable
vfio/ccw: Remove redundant definition of TYPE_VFIO_CCW

 hw/vfio/ap.c                | 9 +++------
 hw/vfio/common.c            | 2 +-
 include/hw/s390x/vfio-ccw.h | 2 --
 3 files changed, 4 insertions(+), 9 deletions(-)
Signature · 1 line
2.34.1