Received: by 10.223.185.116 with SMTP id b49csp2395767wrg; Mon, 12 Feb 2018 08:54:22 -0800 (PST) X-Google-Smtp-Source: AH8x225c690K1h4jHEU+plrhmDpCaG6OgRsrz04g8xPo2/iJzXGj7AuuBP8Q2YcLSJesTMAopxCL X-Received: by 2002:a17:902:7614:: with SMTP id k20-v6mr11215208pll.343.1518454462317; Mon, 12 Feb 2018 08:54:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518454462; cv=none; d=google.com; s=arc-20160816; b=uC1wA6sh1DEhvpzmQw17Td03+Bf6qPJQZuDkAHorUrO/7mpY5fSE8PIqpD/0qwEFQb GooDjFuzRVh2PQfbj32eDU2b98uKEtq37uiE7oyiP2MnD0PhwFwobQ+gNBgYLx/sqNae em3PQhatEJTqRnh4KPiw8d3alAMEgePamm9Lvu9Lp2A9J8uVK2KFi/8CH126jm6PrrhK HGc5hNlOXYqCRXoug3NsoC5/HY+C0ei+BPO9k/0z2vG5mdFP1iKgApzU3q3hUY4S/Ws8 Cb8qYwhl0U2jWIfFGsw19cqTnvaJ35JD2avMAm8oAIgx/HIdME2zRN+OGo/nO4bR1h5S jdLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=+E28oDwacZB13V/ktsrHYwgw+qnkshKtTnRgrNDNIb8=; b=Y8FZG0SByf6P+0KTmCF7sr9I3SxKUkZHqbkEWaBjW1Z7rLt8qVnwiDaOpHCQPwT9fq 4blj1oh2HhrFkW7srzZTcO6f/v/rPlHBoEBCzJgi2IoQp0HjbCSuCn/T8LtG7P1YXFJ9 Uqh6MLIQJQE87muWDccGnBHpwFjZcB0syR5R8J1HyAKPIsYwzblYlCb1aiEJG4UyU9tT A9+HWjHHA88a2FMCp6OSu9YPMW585506q78oJ5cHuEvsVMDuUkM/4KUkXRsaeIyxUs09 2D+EvVoOKwAvF1LnJSgTFrf5g54OzerH9vLBDBesl6QXcA37VxfAZvSd0Rbb4LloWuzL t8pQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1-v6si2174291pli.763.2018.02.12.08.54.08; Mon, 12 Feb 2018 08:54:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935785AbeBLOAb (ORCPT + 99 others); Mon, 12 Feb 2018 09:00:31 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:39658 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935772AbeBLOA2 (ORCPT ); Mon, 12 Feb 2018 09:00:28 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: tomeu) with ESMTPSA id 307132725AC Subject: Re: [PATCH v3 1/2] drm/virtio: Add window server support To: Gerd Hoffmann Cc: linux-kernel@vger.kernel.org, Zach Reizner , kernel@collabora.com, dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, "Michael S. Tsirkin" , David Airlie , Jason Wang , Stefan Hajnoczi References: <20180126135803.29781-2-tomeu.vizoso@collabora.com> <20180201163623.5cs2ysykg5wgulf4@sirius.home.kraxel.org> <49785e0d-936a-c3b4-62dd-aafc7083a942@collabora.com> <20180205122017.4vb5nlpodkq2uhxa@sirius.home.kraxel.org> <20180205160322.sntv5uoqp5o7flnh@sirius.home.kraxel.org> <20180206142302.vdjyqmnoypydci4t@sirius.home.kraxel.org> <04687943-847b-25a7-42ef-a21b4c7ef0cf@collabora.com> <38880e66-b676-1170-c2ca-5a5603c5b521@collabora.com> <20180212115242.z3qv5uejbnhgvd6o@sirius.home.kraxel.org> From: Tomeu Vizoso Message-ID: Date: Mon, 12 Feb 2018 15:00:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180212115242.z3qv5uejbnhgvd6o@sirius.home.kraxel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/12/2018 12:52 PM, Gerd Hoffmann wrote: > Hi, > >> can we reach agreement on whether vsock should be involved in this? > > I think the best approach would be to have guest proxy and host proxy > use vsock for the wayland protocol. Use a wayland protocol extension to > reference the buffers in stdvga / ivshmem / virtio-gpu. Only the two > proxies need to understand the extension, the client <=> guest proxy and > host proxy <=> server communication would be standard wayland protocol. Thanks for the ideas. What I haven't understood yet is how you see the actual passing of buffers via vsock. Are you thinking of using ancillary data to pass FDs, or something else? Thanks, Tomeu