Re: [WHL] launch two UOSs in the same time


Geoffroy Van Cutsem
 

Use different UUIDs in different launch scripts, pick any that is labeled as POST_STANDARD_VM_UUIDX in the https://github.com/projectacrn/acrn-hypervisor/blob/master/hypervisor/include/common/vm_uuids.h file

 

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 5:06 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Can I  use the UUID from each VM, or just two different random UUID

 

Mit freundlichen Grüßen
Jianjie Lin


From: acrn-users@... <acrn-users@...> on behalf of Geoffroy Van Cutsem <geoffroy.vancutsem@...>
Sent: Thursday, September 2, 2021 5:01:13 PM
To: acrn-users@... <acrn-users@...>
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

I’m suspicious of something wrong with the UUIDs.


Can you try to add the UUID you want to use for the second VM to the launch script, using the “-U” option

 

E.g.: -U 615db82a-e189-4b4f-8dbb-d321343e4ab3 (similar to what you see here: https://github.com/projectacrn/acrn-hypervisor/blob/master/misc/config_tools/data/sample_launch_scripts/nuc/launch_hard_rt_vm.sh#L47, but with a different UUID taken from here: https://github.com/projectacrn/acrn-hypervisor/blob/master/hypervisor/include/common/vm_uuids.h

 

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 4:38 pm
To: acrn-users@...
Subject: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Is that happening no matter which order you try to load them ?

.--> yes, no matter in the gpu version or console version. The first one is always correct, but the second one fails always.

 

Von: acrn-users@... [mailto:acrn-users@...] Im Auftrag von Geoffroy Van Cutsem
Gesend
et: Donnerstag, 2. September 2021 16:21
An: acrn-users@...
Betreff: Re: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi Jianjie Lin,

 

Do you have more logs to share when the second VM fails to start (acrn-dm console & serial port output)? Is that happening no matter which order you try to load them?

 

A couple of remarks/questions:

* Your industry.xml file only ever assigns pCPU 0 and 1 to all User VMs, but your console_launch_uos3_4.sh tries to use pCPUs 2 and 3

* Is gpu_launch_uos4.sh supposed to launch a Windows User VM? I see the ‘--windows’ parameter in it but it seems to want to use GVTg and picks up an image from a folder called “ubuntu_images”. The  “--windows” parameter makes acrn-dm use the Oracle Virtio block device.

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Jianjie Lin
Sent: Thursday, September 2, 2021 2:40 pm
To: acrn-users@...
Subject: [acrn-users] [WHL] launch two UOSs in the same time

 

Hi ACRN Community,

 

We faced the problem of launching two UOSs at the same time. We deployed the whiskey lake board: whl-IPC-i7.xml, and we customize the scenario file with 4 Post-STD VM.

 

We can successfully launch one VM, but we can not create the second VM in the acrn kernel.

 

I attached the two launch file

gpu_launch_uos3.sh

console_launch_uos3_4.sh

 

Besides, I attach my board file and scenario file if it can help to find out the issue.

 

I add the following the command line in the file in the /etc/grub.d/40.cutsom for Gvt-g

“i915.nuclear_pageflip=1 i915.avail_planes_per_pipe=0x010101 i915.domain_plane_owners=0x011100001111 i915.enable_gvt=1 i915.enable_guc=0 i915.enable_conformance_check=0”

 

For each launch file, we can launch the VM without any problem. But If I launch them at the same time, only the first one is successful, the another one is failed to created.

 

I go through the issue from GitHub. However, no direct solution is founded based on those comments.

Do you have any idea how I can forward further?

 

Thank you very much firstly for your support.

 

Mit freundlichen Grüßen / Kind regards
--------------------------------------------------------

Jianjie Lin

 

E-Mail: Jianjie.Lin@...

Mobil:  +49-176-8443-6814

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