Waydroid seems to be the only option for android simulation besides “native” x86 android, because inside a Qubes-VM one can only use “containers” (Linux kernel does not have containers!), meaning namespaces and some enforcements like cgroups, selinux.
Experiments?
-
My tests with https://www.genymotion.com/
showed that they require the virtualization features to be present in the CPU, but unfortunately evil XEN already ate all the nice HW-virtualization so genymotion can not run its Fake-ARM hypervisor.
Academically, we could try to go w/o XEN (yes security is important, but there are some (more academic) applications where one may want to trade security against flexibility - e.g. running a hypervisor to simulate an ARM machine (e.g. genymotion) as a guest of a virtualized machine (qubes app-vm) )
Here we might want to have some light weight “containerized” aka namespaced qubes which keeps some virtualization features intact for its guests. Have a look at proxmox ve which uses kvm as hypervisor and also provides LXC containers or KVM guests.
In the future a scale able approach using KVM and namespaces, cgroups2 of linux kernel may be used.
Who wants to discuss this with me?
(I am trying to do a phd on somehow scaleable virtualization and containerization as a hobby research project.)