Re: Porting apps to L4Re?

Philipp Eppelt <[email protected]> Mon, 18 Nov 2024 10:25:33 +0100
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hi Lonnie,

Am 13.11.24 um 15:14 schrieb Lonnie via l4-hackers:
> Hello All,
> 
> As part of the project effort that I am working on with L4Re, I am considering 2 possible pathways of which both need graphics capabilities to interact with the uvmm for a guest OS:
> 
> Possible pathways:
> 1.  Use the framebuffer "spectrum" example and port something like FreeRDP, rdesktop or other, so that this will allow for a loabable RDP service VM whose only job is to connect to other VM's. This would be for having a Docker/Podman Container engine running and to be able to connect to a container via a web browser VM that has a graphic console in fullscreen mode.

I don't get it. You don't want to have a VM driving the screen/GPU but an l4re 
service like mag?
And then there is a VM which gets a framebuffer to draw into and this shall 
connect to some other VMs.
And then I'm lost in the container / web browser VM / console description.


You can have a VM driving the GPU/screen, input and NIC. Together with 
virtio-net-switch all VMs can be on the same virtual network and then you could 
connect to them via your chosen network-based service. Is this something you 
considered?

> 
> 2. Find a way to have L4Re be able to access the graphic console (VGA) of each uvmm guest directly and then be able to HotKey switch between active VM's.  This might be like having multiple guest OS's running (i.e. Ubuntu 24.04 and Windows 10 for example) and then be able to switch the console between them.  This is also an idea to allow L4Re to boot all of the OS's that might reside on a dualboot or multiboot system.

When you implemented windows support into uvmm, please let me know ;-)
Jokes aside, I haven't experimented with this, but there is some documentation 
about framebuffers in the uvmm documentation (pkg/uvmm/doc/uvmm.dox).

I think mag should be able to serve your needs here. It can provide framebuffers 
and input multiplexing, but I don't know to which extent. It's been a while 
since I last used it.

Wrt to booting OS from disk. Yes, this is possible, you need to configure uvmm 
to boot from these partitons and of course you need an l4re driver for the disks 
(ahci-driver or nvme-driver).


These are the building blocks I see that should get you to do first experiments.

Cheers,
Philipp



-- 
[email protected] - Tel. 0351-41 883 221
http://www.kernkonzept.com

Kernkonzept GmbH.  Sitz: Dresden.  Amtsgericht Dresden, HRB 31129.
Geschäftsführer: Dr.-Ing. Michael Hohmuth

_______________________________________________
l4-hackers mailing list -- [email protected]
To unsubscribe send an email to [email protected]
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEO7T7Jq7ah1WoVcqMg8udkTKw7CEFAmc7CA0FAwAAAAAACgkQg8udkTKw7CFR
zg//ZuGoDahttinjN0VliDbuhJlQlSubXpiZ1ZPWde0sW1S0ugIuO0L3SCofaPkmpGrAqUAJAEOM
3eVa/gpOnLqcx5Uch5K4EYfmK67hU7cH04CCHSPGe2ZsS/D0i2Vg+gZlZa/JDn/qX4Wz6n7ITqRE
CLYI19sl3bMaoSS9TVKvbJ0zridckJN+GBPdOjPQRT4eXd086/w59VEIjSGpP0AHZ2O/O11wIuZB
HN67FGLYwc/Irv/qnwiP6dHsGUCyQjI5MM1xU3u5pWQPTXQLagjksmdH/yBIIpkXR0XLj8IM3uZn
AX8ZxgM6HhaIEZMdQM2vZ0bokrIxTWMsnvSUOepzb+Max6VuIeH+Q0yxbGURCeQE4UIFL/0PT7De
dST/0fQz89eEgmeJlCyuj/O7G4FJ8PhMhJ5S4TJ8YHJmGGjnIHCRFM+xgbG0wbFFcEKGBTZivbDb
g+14XLYMtkSEyT+cAAiGcK4xM/AJVPorJWf0j+gtNOyi0cPIymJPvBc9RImjb1wWIOx+3M0y4Yk8
Qs9alX+CyVy4zov5JPOwVefNwu+YxH9r8zW7CUS92H2/aOWzSznXYixpcm1R+zvuHjf450iLk/GL
SttIB2CXWmHcEGdn/7gTnpe9PyX0Tqz1/1XYld/gIDnU40gCwUIecphfYd9WSnUX+cvtKTmpBisG
AZ0=
=3Zr4
-----END PGP SIGNATURE-----