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 (3): 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 | 8 ++++++++ hw/9pfs/9p-proxy.c | 10 ++++++++++ hw/9pfs/9p.c | 6 ++++++ 4 files changed, 25 insertions(+) -- 1.8.3.1