From: Alyssa Ross <hi@alyssa.is>
To: Thomas Leonard <talex5@gmail.com>
Cc: Michael Raskin <7c6f434c@mail.ru>, discuss@spectrum-os.org
Subject: Re: Qubes-lite With KVM and Wayland
Date: Wed, 10 Mar 2021 22:34:50 +0000 [thread overview]
Message-ID: <20210310223450.ahsn66c6iefcieir@eve.qyliss.net> (raw)
In-Reply-To: <CAG4opy-5u1hn3jZPJgh+NnGFjX7J2gb_ytFETFsKX2g_Rp2Dig@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2474 bytes --]
On Wed, Mar 10, 2021 at 02:19:49PM +0000, Thomas Leonard wrote:
> > > I didn’t have time to write and debug C++ code for every missing
> > > Wayland protocol, so I took a short-cut: I wrote my own Wayland library,
> > > ocaml-wayland, and then used that to write my own version of sommelier.
> > > 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
from the server. As I understand it, Chromium OS already supports this
with virtio-gpu, but I haven't tried that yet.
> > > I’m 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-qubesos/).
> 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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-03-10 22:35 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-05 19:27 New user getting started questions Thomas Leonard
2021-01-05 20:09 ` Michael Raskin
2021-01-06 7:04 ` Alyssa's break Alyssa Ross
2021-01-06 9:11 ` Michał "rysiek" Woźniak
2021-01-06 7:00 ` New user getting started questions Alyssa Ross
2021-01-06 15:56 ` Thomas Leonard
2021-01-07 11:38 ` Thomas Leonard
2021-01-07 15:33 ` Thomas Leonard
2021-01-14 12:29 ` Alyssa Ross
2021-01-14 12:51 ` Alyssa Ross
2021-01-20 13:04 ` Thomas Leonard
2021-01-27 17:31 ` Thomas Leonard
2021-03-07 12:52 ` Thomas Leonard
2021-03-09 16:59 ` Qubes-lite With KVM and Wayland Alyssa Ross
2021-03-10 14:19 ` Thomas Leonard
2021-03-10 22:34 ` Alyssa Ross [this message]
2021-03-09 16:25 ` New user getting started questions Alyssa Ross
2021-03-13 7:21 ` Thomas Leonard
2021-03-13 13:52 ` Alyssa Ross
2021-10-30 12:58 ` Thomas Leonard
2021-11-03 11:36 ` Alyssa Ross
2021-11-03 18:27 ` Thomas Leonard
2021-11-10 12:58 ` Alyssa Ross
2021-11-10 12:00 ` Thomas Leonard
2021-11-11 11:09 ` Alyssa Ross
2021-11-11 16:12 ` Thomas Leonard
2021-11-12 10:47 ` Alyssa Ross
2022-03-13 15:08 ` Thomas Leonard
2022-03-15 14:06 ` Alyssa Ross
2022-03-15 20:23 ` Alyssa Ross
2022-03-16 16:18 ` Using virtio-gpu instead of virtwl Thomas Leonard
2022-03-16 16:54 ` Alyssa Ross
2022-03-21 12:10 ` Thomas Leonard
2022-03-21 16:05 ` Alyssa Ross
2022-03-22 11:08 ` Thomas Leonard
2022-03-22 11:16 ` Alyssa Ross
2022-03-22 20:05 ` Thomas Leonard
2022-04-06 12:19 ` Thomas Leonard
2022-04-13 17:12 ` Thomas Leonard
2022-04-14 13:57 ` Alyssa Ross
2022-04-19 12:58 ` Thomas Leonard
2022-04-19 12:01 ` Alyssa Ross
2022-05-15 15:20 ` Thomas Leonard
2022-05-16 11:55 ` Alyssa Ross
2022-05-18 9:55 ` Thomas Leonard
2022-06-05 16:29 ` Thomas Leonard
2022-08-09 12:00 ` Alyssa Ross
2022-10-10 15:16 ` Thomas Leonard
2022-10-10 16:53 ` Alyssa Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210310223450.ahsn66c6iefcieir@eve.qyliss.net \
--to=hi@alyssa.is \
--cc=7c6f434c@mail.ru \
--cc=discuss@spectrum-os.org \
--cc=talex5@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).