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

Zhenzhong Duan posted 3 patches 6 months, 4 weeks ago
Failed in applying to current master (apply log)
hw/vfio/ap.c                | 9 +++------
hw/vfio/common.c            | 2 +-
include/hw/s390x/vfio-ccw.h | 2 --
3 files changed, 4 insertions(+), 9 deletions(-)
[PATCH 0/3] vfio: memory leak fix and code cleanup
Posted by Zhenzhong Duan 6 months, 4 weeks ago
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(-)

-- 
2.34.1
Re: [PATCH 0/3] vfio: memory leak fix and code cleanup
Posted by Cédric Le Goater 6 months, 4 weeks ago
On 10/9/23 04:20, Zhenzhong Duan wrote:
> 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.

Applied on vfio-next.

Thanks,

C.
Re: [PATCH 0/3] vfio: memory leak fix and code cleanup
Posted by Cédric Le Goater 6 months, 4 weeks ago
On 10/9/23 04:20, Zhenzhong Duan wrote:
> 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.

Will this apply on the future v5 of Eric ?

Thanks,

C.


> 
> 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(-)
>
RE: [PATCH 0/3] vfio: memory leak fix and code cleanup
Posted by Duan, Zhenzhong 6 months, 4 weeks ago

>-----Original Message-----
>From: Cédric Le Goater <clg@redhat.com>
>Sent: Monday, October 9, 2023 2:32 PM
>Subject: Re: [PATCH 0/3] vfio: memory leak fix and code cleanup
>
>On 10/9/23 04:20, Zhenzhong Duan wrote:
>> 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.
>
>Will this apply on the future v5 of Eric ?

I think so, though this patchset is applied on v4 of Eric. Let me know if
you want a new version without basing on the prerequisite patchset,
it’s easy to rebase.

Thanks
Zhenzhong