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(-)

-- 
1.8.3.1


Reply via email to