Re: Multiple Pre-Launched User VM question

Lonnie Cumberland <lonnie@...>

Thanks Geoffroy,

I am working on it now and will see what I can get going.

Is there an updated tutorial on 

1. Taking an existing ACRN image (as I have previously built one now)
2. Building a single service image with the ACRN build from Step 1.
3. Adding some simple User VM's

I would guess that all of the above would result in a ".img" file that could be booted in Qemu for testing, or at least that is the goal.

Hard to find just an initial simple to follow process to make a self-contained image that has ACRN+ServiceVM+a couple UserVM.

On Mon, May 31, 2021 at 11:54 AM Geoffroy Van Cutsem <geoffroy.vancutsem@...> wrote:

Hi Lonnie!


That sounds like a lot of great progress! (/me making a mental note to go check the Dockerfile in my repo to make sure they’re up-to-date 😉)


Running ACRN on QEMU is possible on an Ubuntu 20.04 host, I have never tried on Windows… but if you do, please share your findings! The tutorial on the documentation website is currently out of date, as a matter of fact, I just figured out this morning (with the help of the engineering team) how to upgrade this outdated tutorial to be based on ACRN v2.4. Take a look at this Pull Request for the latest (until it gets merged and published on the website): Please note that it is not possible to run the latest version of ACRN (i.e. the upcoming v2.5 release) yet, it is currently blocked by:


I do not know if it’s possible to have multiple pre-launched VMs at the same time. There are already 2 UUIDs reserved for those so it seems like it’s possible. You may even be able to re-use the UUID from the SAFETY_VM_UUID1 (although you may not use it for that purpose). I’ll need to research that question a bit more though unless someone watching this list knows the answer. If you need more than 3, and assuming it works up until 3, you will have at least to add more UUIDs in the codebase.


Note that I am not aware of anyone that has brought up ACRN on QEMU with pre-launched User VMs. Not necessarily that it cannot be done but you would be breaking new ground there… and again, any return on your testing/experience in that field would be most appreciated!




From: acrn-users@... <acrn-users@...> On Behalf Of Lonnie Cumberland
Sent: Sunday, May 30, 2021 3:49 PM
To: acrn-users@...; acrn-dev@...
Subject: [acrn-users] Multiple Pre-Launched User VM question


Hi All,


This weekend, I was able to set up my base build system on the Intel NUC7i7 that I had purchased.  


It came with Windows 10 and instead of wiping the OS and installing Ubuntu 20.04 natively, I decided to try to use the LVS2 system that comes with Windows 10 which allows me to install and run Ubuntu 20.04 directly and use it concurrently from Windows 10. 


Additionally, I installed Docker in Windows which also gave me Docker in my Ubuntu 20.04 and was able to get the ACRN Docker files from:



and then was able to very easily set up a build environment for ACRN after which I successfully built the hypervisor.


Now I want to also see if I can run ACRN under Qemu either on native Windows 10 or under my new Ubuntu 20.04 so I am working on trying to figure out how to build a simple setup with some User VM's to test.

Also, I have been reading over the ACRN documentation where it discusses the various usage scenarios:





 I was wondering if ACRN can be configured and set up to have multiple "Pre-Launched" User VM's instead of just one?


If currently not possible, then what areas of the source code might I be able to view to see where this is done as I might want to see about forking the code to do some testing and modifications to see what is, or is not, achievable?


Thanks and have a good weekend,


Join { to automatically receive all group messages.