Re: Firefox appVM patches and appVM refactoring

Vadim Likholetov
2022-12-06T15:57:37Z

I’ve done this — I have patched cloud-hypervisor to have three console devices — serial, console and user-console, but than decided that this patches will never go to C-H mainline so got back with more traditional approach with tmux :)

> On 6 Dec 2022, at 17:20, Alyssa Ross <alyssa.ross@unikie.com> wrote:
>
> On Mon, Dec 05, 2022 at 12:42:35AM +0200, Vadim Likholetov wrote:
>> Cloud-hypervisor has virtual hardware limitations -- it supports only one
>> console device and only one serial device.
>> SpectrumOS is using serial device for kernel logs of appVM and console
>> device as a console.
>> To have access both to root-executed part and to user-executed part of the
>> VM payload, I installed a tmux on console.
>> Now, when you're running vm-console command you get access to the tmux
>> and have the ability to switch between root and user consoles,
>> that can be useful during debugging VM payload.
>
> I wonder what it would take to make cloud-hypervisor support multiple
> virtio-console devices… I suspect it wouldn't be too hard, since it
> already supports multiples of every other virtio device just fine…