Re: Dynamically adding VM's
Geoffroy Van Cutsem
That reminds me that perhaps we should do a refresh of that video :-/
We do not use ClearLinux anymore inside the Service VM. We have switched to Ubuntu (for reasons linked to the way we boot, see below for a bit more details ). Now, that’s not to say you cannot run a different OS in the Service VM, the key will be to see if you can install all the right dependencies in it in order to run the Device Model (acrn-dm) which is the component providing the drivers (shared devices) for the User VMs. You can have a rough idea about those dependencies by looking at this section: https://projectacrn.github.io/latest/getting-started/rt_industry_ubuntu.html#build-the-acrn-hypervisor-on-ubuntu. These are the tools and development libraries needed to *build* ACRN. The runtime dependencies list is a little smaller, i.e. I don’t believe you need things like bison, flex, pkg-config, python3, git, make (and possibly others). I do not know TinyCore myself but if those packages are readily available for it, it may be a relatively straightforward exercise.
 Staged removal of deprivileged boot mode support. ACRN has supported deprivileged boot mode to ease the integration of Linux distributions such as Clear Linux. Unfortunately, deprivileged boot mode limits ACRN’s scalability and is unsuitable for ACRN’s hybrid hypervisor mode. In ACRN v2.2, deprivileged boot mode is no longer the default and will be completely removed in ACRN v2.3. We’re focusing instead on using multiboot2 boot (via Grub).
I actually just came across a great video that cleared up the way that ACRN runs:
It helps a lot, but I see that Clear Linux is used a lot and for my project goals, it is still much too large. I need to be able to run something like TinyCore Linux or something with an Xserver that is around 20 - 50 MB max.
On Fri, Jan 15, 2021 at 6:16 PM Geoffroy Van Cutsem <geoffroy.vancutsem@...> wrote: