On Wed, 16 Nov 2016 22:16:52 -0500
Li Qiang <liq...@gmail.com> wrote:

> Currently, the backend of VirtFS doesn't have a cleanup
> function. This will leak some resources in handle and proxy
> backend driver. This patchset addresses this issue.
> 
> Li Qiang (4):
>   9pfs: adjust the order of resource cleanup in device unrealize
>   9pfs: add cleanup operation in FileOperations
>   9pfs: add cleanup operation for handle backend driver
>   9pfs: add cleanup operation for proxy backend driver
> 
>  fsdev/file-op-9p.h  |  1 +
>  hw/9pfs/9p-handle.c |  9 +++++++++
>  hw/9pfs/9p-proxy.c  | 13 +++++++++++++
>  hw/9pfs/9p.c        | 10 ++++++++--
>  4 files changed, 31 insertions(+), 2 deletions(-)
> 

Hi Li,

This looks good. I'll send a pull request shortly.

Thanks for your help in fixing all these leaks.

--
Greg

Reply via email to