From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: virtio-dev-return-6769-cohuck=redhat.com@lists.oasis-open.org Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 737DD985C9D for ; Mon, 24 Feb 2020 13:42:43 +0000 (UTC) Date: Mon, 24 Feb 2020 14:42:31 +0100 From: Gerd Hoffmann Message-ID: <20200224134231.75jsws2qnkpzl274@sirius.home.kraxel.org> References: <20200207182842.770bfb27@collabora.com> <20200217145835.0bd7b028@collabora.com> <20200217192150.07f9e253@collabora.com> <20200224113348.356d8cb8@collabora.com> <20200224121255.upo5fjcy24h4gyc6@sirius.home.kraxel.org> <20200224134513.660fb144@collabora.com> <20200224141835.798fac4e@collabora.com> MIME-Version: 1.0 In-Reply-To: <20200224141835.798fac4e@collabora.com> Subject: [virtio-dev] Re: [RFC] Upstreaming virtio-wayland (or an alternative) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline To: Boris Brezillon Cc: Zach Reizner , Stefan Hajnoczi , Zach Reizner , David Stevens , =?utf-8?B?U3TDqXBoYW5l?= Marchesin , Tomeu Vizoso , Tomasz Figa , virtio-dev@lists.oasis-open.org, Alexandros Frantzis List-ID: Hi, > > But let's say we go for a dedicated virtio-device to preserve this > > granularity. Should we aim at providing a generic virtio-msg device or > > should we keep this so-called wayland-specific virtio device (I'd like > > to remind you that it's actually protocol-agnostic)? >=20 > Maybe there's another option (not sure I mentioned it previously): > de-correlate the message passing and fd-passing interfaces. If we add a > virtio-fd device that takes care of FD passing between guest and host, > we can still use a regular vsock to pass messages (can be vhost or > !vhost depending on your level of parano=EFa). The wayland proxies would > then queue/dequeue messages to/from the vsock and FDs to/from virtio-fd. Hmm, I suspect supporting unix socket passing (by creating a tunnel for them) is going to be tricky in with that approach. cheers, Gerd --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org