Received: from eggs.gnu.org ([2001:4830:134:3::10]:40955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7DCP-0005DR-F1 for qemu-devel@nongnu.org; Wed, 16 Nov 2016 22:17:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7DCM-0004lk-BF for qemu-devel@nongnu.org; Wed, 16 Nov 2016 22:17:17 -0500 Received: from mail-it0-x241.google.com ([2607:f8b0:4001:c0b::241]:32813) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c7DCM-0004kL-47 for qemu-devel@nongnu.org; Wed, 16 Nov 2016 22:17:14 -0500 Received: by mail-it0-x241.google.com with SMTP id c20so11952852itb.0 for ; Wed, 16 Nov 2016 19:17:13 -0800 (PST) From: Li Qiang Date: Wed, 16 Nov 2016 22:16:52 -0500 Message-Id: <1479352616-64991-1-git-send-email-liq3ea@gmail.com> Subject: [Qemu-devel] [PATCH v3 0/4] 9pfs: add cleanup operation in handle/proxy backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: groug@kaod.org, qemu-devel@nongnu.org Cc: liqiang6-s@360.cn, Li Qiang 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