4 ms·
It is worth noting that ChromeOS runs Linux software in a neat way to isolate it from the host OS. It runs it in Debian-based KVM VMs, and it uses virtio-wayla
by conradev 5y ago
It is worth noting that ChromeOS runs Linux software in a neat way to isolate it from the host OS.
It runs it in Debian-based KVM VMs, and it uses virtio-wayland[1] to pass the applications through to the host compositor, making them feel as if they are not running in a VM.
This architecture means that ChromeOS can preserve its readonly system partition, delta updates, and fast boot times while being able to run any Linux app. Very similar to Qubes, actually.
[1] https://alyssa.is/using-virtio-wl/ https://alyssa.is/using-virtio-wl/
- mwcampbell 5y agoDoes virtio-wayland support accelerated graphics? It's not clear to me how that would work, since accelerated graphics drivers typically include hardware-specific userland code that has to run in the application.
- conradev 5y agoSince it is running in a VM and the host needs the GPU as well, it likely uses virtio-gpu to do paravirtualization. The latest iteration involves emulating a Vulkan device, serializing the commands, and passing them through to the host: https://docs.mesa3d.org/drivers/venus.html https://docs.mesa3d.org/drivers/venus.html