From nobody Wed Nov 12 01:54:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1567576425; cv=none; d=zoho.com; s=zohoarc; b=gX9Zpb8n2QFKVV1fBB+PNNCB6E5+QusYYyK40Lu+aaBG/lohiVWl6B+TiUMABVDCyazdqoNQ3/DJd8cJ/rDF2VCIrJx9GlzReUfKMuGoMBDsPQU0HCU8O4sGw114kz+4z46gQwQ7SFoxhGX/rxVL8EzOkFvqclfKSpj8dZ9KMNs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1567576425; h=Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=F6AnMktwZchZYWxoF1eoiZ+owGaAHmDWXvnMvVQTOhs=; b=fSDpXFoDBVuRtJP6Oq3VuBxznuaSJJKRU1PdF9VaRVesQsvDfCzEeQFUDUS83u210k3rAgYIv4kXQJPwZ+yriQg+pUZV5LIJkZ0ks/C1q3YnlT2XOeZEkMc8Gxjox1f2uAZd4j3OFE+rajSs5iKIo4uFfQfsgind/vJmvdYh6Tk= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1567576425542144.88734209539587; Tue, 3 Sep 2019 22:53:45 -0700 (PDT) Received: from localhost ([::1]:53622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5OEi-0006HS-D8 for importer@patchew.org; Wed, 04 Sep 2019 01:53:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37788) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5ODx-0005rX-6J for qemu-devel@nongnu.org; Wed, 04 Sep 2019 01:52:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5ODv-0003D6-9S for qemu-devel@nongnu.org; Wed, 04 Sep 2019 01:52:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42952) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i5ODv-0003Cb-4M for qemu-devel@nongnu.org; Wed, 04 Sep 2019 01:52:55 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9360AC0718BD for ; Wed, 4 Sep 2019 05:52:53 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-117-72.ams2.redhat.com [10.36.117.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id 135BD19C4F; Wed, 4 Sep 2019 05:52:50 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 34323937E; Wed, 4 Sep 2019 07:52:50 +0200 (CEST) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Wed, 4 Sep 2019 07:52:50 +0200 Message-Id: <20190904055250.22421-1-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 04 Sep 2019 05:52:53 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] vnc: fix websocket field in events X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gerd Hoffmann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Just need to fill VncClientInfo.websocket in vnc_client_cache_addr(). Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=3D1748175 Signed-off-by: Gerd Hoffmann Reviewed-by: Stefan Hajnoczi --- ui/vnc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/vnc.c b/ui/vnc.c index 649ce93cd24c..e318bfc1ed2f 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -278,6 +278,7 @@ static void vnc_client_cache_addr(VncState *client) vnc_init_basic_info_from_remote_addr(client->sioc, qapi_VncClientInfo_base(client->i= nfo), &err); + client->info->websocket =3D client->websocket; if (err) { qapi_free_VncClientInfo(client->info); client->info =3D NULL; --=20 2.18.1