From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xyt2c-0008DF-UU for qemu-devel@nongnu.org; Wed, 10 Dec 2014 20:59:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xyt2X-0005Ea-TO for qemu-devel@nongnu.org; Wed, 10 Dec 2014 20:59:42 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:30008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xyt2X-0005De-9w for qemu-devel@nongnu.org; Wed, 10 Dec 2014 20:59:37 -0500 Message-ID: <5488FA5B.9030106@huawei.com> Date: Thu, 11 Dec 2014 09:58:51 +0800 From: Gonglei MIME-Version: 1.0 References: <1418204253-5869-1-git-send-email-kraxel@redhat.com> <1418204253-5869-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1418204253-5869-2-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 01/10] vnc: remove vnc_display global List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org, Anthony Liguori On 2014/12/10 17:37, Gerd Hoffmann wrote: > Replace with a vnc_displays list, so we can have multiple vnc server > instances. Add vnc_server_find function to lookup a display by id. > With no id supplied return the first vnc server, for backward > compatibility reasons. > > It is not possible (yet) to actually create mutiple vnc server s/mutiple/multiple/ > instances. > > Signed-off-by: Gerd Hoffmann > --- > ui/vnc.c | 63 +++++++++++++++++++++++++++++++++++++++++---------------------- > ui/vnc.h | 2 ++ > 2 files changed, 43 insertions(+), 22 deletions(-) Reviewed-by: Gonglei