From: Vadim Likholetov <vadim.likholetov@unikie.com>
To: devel@spectrum-os.org
Subject: Enabling forwarding Wayland from appVM to host with waypipe
Date: Wed, 30 Nov 2022 09:12:50 +0200 [thread overview]
Message-ID: <CALSVioDK-azWsHZ1fkjUSR08KCrpsiCcLni9FFf8_bMTbwOXKA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 818 bytes --]
This patchset enables forwarding Wayland connections from appVM to the host
with the help of waypipe tool.
It doesn't reqire major changes in Spectrum and tries to utilise existing
packages and solutions.
Main idea is to create VSOCK virtual device on the start of appVM and use
this virtual socket to connect host and guest.
On the host side I implement vm-start-way tool that is based on vm-start,
but does necessary preparations for wayland forwarfing.
The guest VM is appvm-hello-waypipe and described in hello-waypipe.nix
file.
To test it boot the Spectrum and do 'vm-start-way appvm-hello-waypipe'.
Be patient and in couple of seconds will appear a terminal window from
appVM.
This patches are for test the concept, so possibly redisign is needed for
production use.
ps sorry for mess in the mailing list
[-- Attachment #2: Type: text/html, Size: 1019 bytes --]
next reply other threads:[~2022-11-30 7:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-30 7:12 Vadim Likholetov [this message]
2022-11-30 8:51 ` Enabling forwarding Wayland from appVM to host with waypipe Alyssa Ross
2022-11-30 10:14 ` Vadim Likholetov
2022-11-30 10:24 ` Alyssa Ross
2022-11-30 10:32 ` Vadim Likholetov
2022-11-30 11:29 ` Alyssa Ross
2022-11-30 13:12 ` Vadim Likholetov
2022-11-30 14:21 ` 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=CALSVioDK-azWsHZ1fkjUSR08KCrpsiCcLni9FFf8_bMTbwOXKA@mail.gmail.com \
--to=vadim.likholetov@unikie.com \
--cc=devel@spectrum-os.org \
/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.
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
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).