From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.4 Received: by atuin.qyliss.net (Postfix, from userid 496) id 3C95A1541C; Wed, 10 Mar 2021 22:35:20 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 23769153DE; Wed, 10 Mar 2021 22:35:01 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id B5DEF153BB; Wed, 10 Mar 2021 22:34:58 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by atuin.qyliss.net (Postfix) with ESMTPS id C07FA153B9 for ; Wed, 10 Mar 2021 22:34:54 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id E2C305C012B; Wed, 10 Mar 2021 17:34:53 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 10 Mar 2021 17:34:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=iXFE7kf7dETaQIFipoTqAZbrpMt Ok43fU4Q6c7rkENk=; b=ceOWoXncauL+McIqtE7952h32fJ4oUbldj5Fhkft6ts 9gxosbh30OBD3fymeuQ4fQW0abJqbxZ0LNwOiQkkXnUwmWyDQjRcVJ9e22+zMCZi hQE6MakcgyH0Gmdtkqj2tS5MaOc0DnMLKEMO8TBXRj3LDIsE2k75dzXbucRBanaS 5ZldHQ2cSVi7KzFGcK4uxxbdpEAUYCBq4HGBGDvi/f2imNZxzjXmWIzW/xYZ+zLP KG+XvTXCc8/JTSE1RH8U61miRvQOxqYdy7D7gqEdpysFGl0W5mxpnQ8JISTOLnqw RsvbOlNO6+KjSlOVRsueqKCCspoAhg0qBCJ/Nkg8oBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=iXFE7k f7dETaQIFipoTqAZbrpMtOk43fU4Q6c7rkENk=; b=DN1l/H5AG2xuiS+Dl+UJnR Gv7ido4Ehujj7jH4tsNB9wz9GxM/29KOWd0pSbp0AQUA5DAOr87sl4mWb47kYOUw AdCkgLDuSui2QYAC3WVD7s5mwf6ooamMNpjGvpQjuRZ8QG8YaWoSYIDoPqxOBcao Jwo3+IbXLj9pDCzjmEQKRaIkUA6gjodKQxXBOQc8S30tPOPZO+L3c4Wl7fffHUTQ VRsB2mpDEJnkLHJ7z4IKRXM6PBefJ5iFbC+HSU4aG4fBFupkCqj8Drauk+FavUCt EC/URMWqOcD81SmX8xJ06yCjtiV01HnfkIrmxi4qtMoqI14+oNGWrXsku22smJcw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddulecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtddtredttd ejnecuhfhrohhmpeetlhihshhsrgcutfhoshhsuceohhhisegrlhihshhsrgdrihhsqeen ucggtffrrghtthgvrhhnpedtieevheejgedtgeetgeeuteegffetgfetjeduffdugeegvd duheduleelleegkeenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhrohhstghiughu shdrtghomhenucfkphepkeegrddukedurddvheehrdekheenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehqhihlihhsshesvghvvgdrqhihlhhi shhsrdhnvght X-ME-Proxy: Received: from eve.qyliss.net (p54b5ff55.dip0.t-ipconnect.de [84.181.255.85]) by mail.messagingengine.com (Postfix) with ESMTPA id 199CF1080069; Wed, 10 Mar 2021 17:34:53 -0500 (EST) Received: by eve.qyliss.net (Postfix, from userid 1000) id 42360828; Wed, 10 Mar 2021 22:34:50 +0000 (UTC) Date: Wed, 10 Mar 2021 22:34:50 +0000 From: Alyssa Ross To: Thomas Leonard Subject: Re: Qubes-lite With KVM and Wayland Message-ID: <20210310223450.ahsn66c6iefcieir@eve.qyliss.net> References: <87ble2czx6.fsf@alyssa.is> <87lfcvn1ln.fsf@alyssa.is> <87bldrn0kh.fsf@alyssa.is> <20210309165922.mg6hdqzzeurdmjsq@x220.qyliss.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="g44d6lfcs4egjpjy" Content-Disposition: inline In-Reply-To: Message-ID-Hash: UQFXZHQ64SGGOQYYBQ6FPIVRDBQGT37Q X-Message-ID-Hash: UQFXZHQ64SGGOQYYBQ6FPIVRDBQGT37Q X-MailFrom: qyliss@eve.qyliss.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Michael Raskin <7c6f434c@mail.ru>, discuss@spectrum-os.org X-Mailman-Version: 3.3.1 Precedence: list List-Id: General high-level discussion about Spectrum Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: --g44d6lfcs4egjpjy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 10, 2021 at 02:19:49PM +0000, Thomas Leonard wrote: > > > I didn=E2=80=99t have time to write and debug C++ code for every miss= ing > > > Wayland protocol, so I took a short-cut: I wrote my own Wayland libra= ry, > > > ocaml-wayland, and then used that to write my own version of sommelie= r. > > > With that, adding support for copying text was fairly easy. > > > > Well this is interesting! I definitely want to learn more about this. > > I've put it up here: https://github.com/talex5/wayland-virtwl-proxy > > There's a default.nix file, so it should build easily enough (make > sure to git clone with submodules). I'd be interested to know if it > works for other people. I've been using it for about a week now, and > it seems fine with firefox, evince and xfce4-terminal (the apps I > use). > > But e.g. kitty won't run because there's no `wl_drm` support. I don't > know anything about graphics acceleration. But someone on Hacker News > commented that you did panfrost, so I guess you know about that sort > of thing. Alas, I am not Alyssa Rosenzweig of panfrost (gosh how much easier this would be if I knew as much about Linux graphics as she does!). But it is not uncommon that people get us mixed up. :) FWIW, wl_drm solves your complaint of having to copy buffers from client-allocated memory -- with wl_drm, the client is given a dmabuf =66rom the server. As I understand it, Chromium OS already supports this with virtio-gpu, but I haven't tried that yet. > > > I=E2=80=99m not sure how guest-to-guest communication works with KVM. > > > > It... doesn't really, at least not the way it does with Xen. > > virtio-vhost-user[1] is promising, but very early stages. I've talked > > in quite a lot of detail about how that works on this list before as > > well. guest-to-guest communication was my main area of work for most of > > the second half of last year (and what ended up causing me to burn out). > > I guess once you've got shared memory and inter-VM interrupts it might > be possible to reuse the Xen protocols and drivers. I made a firewall > VM on Qubes that did that a few years ago > (https://roscidus.com/blog/blog/2016/01/01/a-unikernel-firewall-for-qubes= os/). > But the virtio protocols will probably be more widely supported in > future. That's an interesting idea I hadn't considered. But I am hoping that virtio gets to the point that we don't need to do that in a reasonable amount of time. --g44d6lfcs4egjpjy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEdZTIUP7JZVWM3Ir2XDnhXb2v5OUFAmBJSYkACgkQXDnhXb2v 5OWMnhAAohXq7UBssAx8w4wVNYj9JKMezrGk50hKuCXWgpD4L3nC5TeYoRjROZcB 53iF/37a02xDSR63FJ49fzpKP2lXLxedhxXus2l4QNYkZjpTPkQLd1DUi/wOzT0o zAJ2exAcfe6mtWwcTNqAqv0//fxTBS/ecZdk/CoTwGub4rC06aBTAoqQEwWAfokv yRsjP/D/FPKJ5JAw7sZBmI+aCD3FX2zpJmyZAV69vr3vo6PrA8D3vMgfbuLd2pKU Blxt1iLDaZXDerHKnvJw6MwyPFQHms1Omlrn/a7yHFu+NDH7rVAGDbfJGIn0GxZl FjTz1zXc9L27tE7IPzswo/JzByRxk50i5VP47l+T/17dq4PEp1+qLW3GaO/mP6NV LVMfDQjh5W37i5UnAkWGCwsUDUjCn9HOb96ev/48gbsXdNv5Z1M5VvaYXdsUbP12 aIzuLJpUzQantwYJvzKZeARM/a86xBdHOvUTMTTIFUetLbm5wNuVAz2LQjYMf8/t BDnMmJ6Kr1Z5RsEXaT71bJ3/8DUnaTfRM1z28kN7DDNV9yLF7xUMmc4kW/AW6SGW Eqa62XlNqEFeOwXmwwflUC+WJnwSsfTUYUrKq1rq8hPWiO8bkH5m+RJdDEYZl/mK Pxi0ATtk/avdo1ddqmwIfmm9dZN/oHrQJ8JjiemW4SJNmBFjvAI= =J01V -----END PGP SIGNATURE----- --g44d6lfcs4egjpjy--