Re: Multiple Pre-Launched User VM question


Geoffroy Van Cutsem
 

> (/me making a mental note to go check the Dockerfile in my repo to make sure they’re up-to-date 😉)

 

I have just updated the Ubuntu 20.04 Dockerfile to reflect the latest build tools and dependencies for ACRN v2.4 (and beyond).

 

Thanks,

Geoffroy

 

From: VanCutsem, Geoffroy
Sent: Monday, May 31, 2021 5:54 PM
To: acrn-users@...; acrn-dev@...
Subject: RE: [acrn-users] Multiple Pre-Launched User VM question

 

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): https://github.com/projectacrn/acrn-hypervisor/pull/5937. 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: https://github.com/projectacrn/acrn-hypervisor/issues/6102

 

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!

Thanks,

Geoffroy

 

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,

Lonnie

Join acrn-users@lists.projectacrn.org to automatically receive all group messages.