Enabling forwarding Wayland from appVM to host with waypipe

Vadim Likholetov
2022-11-30T07:13:14Z

[-- 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 --]