Re: [Qemu-devel] [PATCH 1/3] 9pfs: add cleanup operation in FileOperations

2016-11-14 Thread Greg Kurz
On Mon, 14 Nov 2016 07:32:56 -0500 Li Qiang wrote: > From: Li Qiang > > Currently, the backend of VirtFS doesn't have a cleanup > function. This will lead resource leak issues if the backed > driver allocates resources. This patch addresses this issue. > > Signed-off-by: Li Qiang > --- > fsd

[Qemu-devel] [PATCH 1/3] 9pfs: add cleanup operation in FileOperations

2016-11-14 Thread Li Qiang
From: Li Qiang Currently, the backend of VirtFS doesn't have a cleanup function. This will lead resource leak issues if the backed driver allocates resources. This patch addresses this issue. Signed-off-by: Li Qiang --- fsdev/file-op-9p.h | 1 + hw/9pfs/9p.c | 3 +++ 2 files changed, 4 i