From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhDPd-00047O-El for qemu-devel@nongnu.org; Thu, 23 Oct 2014 04:06:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XhDPY-0004kE-HI for qemu-devel@nongnu.org; Thu, 23 Oct 2014 04:06:25 -0400 Received: from szxga01-in.huawei.com ([119.145.14.64]:49981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhDPX-0004ja-TJ for qemu-devel@nongnu.org; Thu, 23 Oct 2014 04:06:20 -0400 Message-ID: <5448B6DA.5010702@huawei.com> Date: Thu, 23 Oct 2014 16:05:46 +0800 From: Gonglei MIME-Version: 1.0 References: <1414046016-10360-1-git-send-email-arei.gonglei@huawei.com> <1414051026.30724.4.camel@nilsson.home.kraxel.org> In-Reply-To: <1414051026.30724.4.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] vnc: fix fd leak at vnc_display_open() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "Huangweidong (C)" , "qemu-devel@nongnu.org" , "Huangpeng (Peter)" On 2014/10/23 15:57, Gerd Hoffmann wrote: > On Do, 2014-10-23 at 14:33 +0800, arei.gonglei@huawei.com wrote: >> From: Gonglei >> >> When using qmp change vnc interface, will leak fd >> of vs->lsock and vs->lwebsock (if configed). Close >> them before: re-evaluate. > > Ah, the file handles are leaked because you dropped the > vnc_display_close() call. Don't do that then ... > Oops, understand. Sorry for the noise :( What's your suggestion about the problem described in cover-letter? Gerd Best regards, -Gonglei