Re: Run ACRN Service VM is getting struck at WARNING: no console will be available to OS
Liu, Fuzhong
Hi Shrikant Please help to raise one git issue with following link: And help to upload following info: codebase board.xml scenario.xml grub menu setting
Thanks
BR. Fuzhong From: acrn-users@... <acrn-users@...>
On Behalf Of HALLUR, SHRIKANT
Sent: Friday, April 22, 2022 1:20 AM To: acrn-users@... Subject: [acrn-users] Run ACRN Service VM is getting struck at WARNING: no console will be available to OS
Hi Team,
I am trying to launch ACRN Service OS on Dell Laptop (Target Machine). The configuration as below, Processor: 11th Gen Intel Core i7 Tiger Lake Graphics: Mesa Intel Xe Graphics (TGL GT2)
Please let me know above configuration supported for ACRN launch?
I followed, https://projectacrn.github.io/latest/getting-started/getting-started.html and ”7. Run ACRN and the Service VM” (launching Service OS) is getting struck at “WARNING: no console will be available to OS”.
Please help resolving the issue. I tried with YOCTO ACRN also and facing the same issue.
Regards, Shrikant U H
|
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: Virtual communication in ACRN
Yu Wang
On Wed, Apr 20, 2022 at 04:09:08AM -0700, florian.r.e.arnold@... wrote:
Hi Yu,Do you want to get a realtime network mediator for realtime workloads in RTVM? I don't think there has such mediator can saitisfy the RT requirement so far... The hv-land mediator may be feasible as its code path is determined but SOS's user-land mediator is too complex... So my question is:You can investigate the QoS of Linux network for this. Likes cgroups or others to isolate the bandwidth and prioritization.
|
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Run ACRN Service VM is getting struck at WARNING: no console will be available to OS
HALLUR, SHRIKANT
Hi Team,
I am trying to launch ACRN Service OS on Dell Laptop (Target Machine). The configuration as below, Processor: 11th Gen Intel Core i7 Tiger Lake Graphics: Mesa Intel Xe Graphics (TGL GT2)
Please let me know above configuration supported for ACRN launch?
I followed, https://projectacrn.github.io/latest/getting-started/getting-started.html and ”7. Run ACRN and the Service VM” (launching Service OS) is getting struck at “WARNING: no console will be available to OS”.
Please help resolving the issue. I tried with YOCTO ACRN also and facing the same issue.
Regards, Shrikant U H
|
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: Virtual communication in ACRN
florian.r.e.arnold@...
Hi Yu,
Thanks for the quick response. Your answers helped a lot. Just one more thing: The virtual switch (the standard L2 switch or the OVS) runs within the service VM, which is not a real-time VM. So my question is: Could other applications within the SOS user space or kernel space interfere with the switch so that I might get non-deterministic latencies for the communication between VMs and external components? If yes, are there any alternative approaches to ensure deterministic low-latency communication within ACRN? Best Florian |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
2022 ACRN Project Technical Community Meeting Minutes - WW17'22
Zou, Terry
ACRN Project TCM - 20th April 2022
Location Online by Zoom: https://zoom.com.cn/j/320664063
Attendees (Total 20, 20/04)
Agenda
Download foil from ACRN Presentation->WW17’22
Description: We will briefly go through ACRN Development Experience(DX) past, current and future working to explain
why and what we are keep doing to make ACRN an easy-to-use product.
Q&A: N/A
Marketing/Events N/A
Resources Project URL:
|
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: Virtual communication in ACRN
Yu Wang
Hi Arnold,
On Tue, Apr 19, 2022 at 02:24:03PM +0000, Florian Arnold wrote: Hi everyone,Yes. The virtio-network can support communication across post-launched VMs and SOS. And virtio is a shared memory based PV solution. * Is it possible to connect multiple VMs with something like a virtual switch? I'm thinking of something similar to virtual switches on ESXi Servers (https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/virtual_networking_concepts.pdf)Yes. The service VM will create a virtual switch/bridge that can connect to both physical NIC and virtual NIC. You can refer following link: https://projectacrn.github.io/latest/developer-guides/hld/virtio-net.html https://projectacrn.github.io/1.6.1/tutorials/open_vswitch.html * If something like a virtual switch exists in ACRN, does it live in the hypervisor itself or the service VM?It lived in Service VM, so it only supports network communication across SOS and post-launched VMs. * Do pre-launched VMs always require dedicated hardware for network communication, or can they share devices emulated by the service VM?Pre-launched VM doesn’t support virtio-network. Ivshmem and vuart are the only ways for interacting across the pre-launched VM and other VMs. Thanks Yu
|
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Virtual communication in ACRN
Florian Arnold
Hi everyone,
I am currently working on a system with real-time and non-realtime VMs, and I need to implement some network communication between different VMs and external components. I read the high-level design guides, especially the parts about device emulation and virtio, to understand what communication is already supported by ACRN. Unfortunately, I am not sure if I got it right so far. So maybe you guys could help me understand a few things.
My questions are:
I hope those are not too many questions. Even some answers would help me a lot.
I appreciate any help you can provide.
Best Florian |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: CAT definition in the scenario xmls
Minggui Cao
I mean you can get L3 caches info from CPUID first.
And then you can try cmd in ACRN console: rdmsr 0xc90
or wrmsr 0xc90 0x0ff
thanks! Minggui
From: acrn-users@... <acrn-users@...>
On Behalf Of jordan.nowak22@...
Sent: Monday, April 11, 2022 2:14 PM To: acrn-users@... Subject: Re: [acrn-users] CAT definition in the scenario xmls
Hi Minggui,
<CLOS_INFO> rdt resources supported: L3 rdt resource clos max: 4 rdt resource mask max: '0xfff' </CLOS_INFO>
<RDT> <RDT_ENABLED>y</RDT_ENABLED> <CDP_ENABLED>n</CDP_ENABLED> <CLOS_MASK>0x0ff</CLOS_MASK> <CLOS_MASK>0xf00</CLOS_MASK> <CLOS_MASK>0x0ff</CLOS_MASK> <CLOS_MASK>0x0ff</CLOS_MASK> </RDT> |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: CAT definition in the scenario xmls
jordan.nowak22@...
Hi Minggui,
The settings that i set in wrmsr through ACRN console is working. i'm trying to reproduce this through VM Configuration. Below is the xmls that i trying to set, but its weird that ACRN is not booting up after i change the value in xmls.
<CLOS_INFO> rdt resources supported: L3 rdt resource clos max: 4 rdt resource mask max: '0xfff' </CLOS_INFO>
<RDT> <RDT_ENABLED>y</RDT_ENABLED> <CDP_ENABLED>n</CDP_ENABLED> <CLOS_MASK>0x0ff</CLOS_MASK> <CLOS_MASK>0xf00</CLOS_MASK> <CLOS_MASK>0x0ff</CLOS_MASK> <CLOS_MASK>0x0ff</CLOS_MASK> </RDT> |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: CAT definition in the scenario xmls
Minggui Cao
It depends on your board, you can use wrmsr in ACRN console to try your setting first.
Thanks! Minggui
From: acrn-users@... <acrn-users@...>
On Behalf Of jordan.nowak22@...
Sent: Monday, April 11, 2022 11:32 AM To: acrn-users@... Subject: Re: [acrn-users] CAT definition in the scenario xmls
Hi Minggui,
|
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: CAT definition in the scenario xmls
jordan.nowak22@...
Hi Minggui,
toggle quoted message
Show quoted text
i've tried https://github.com/projectacrn/acrn-hypervisor/commit/61074ce1ee1e3925699613c92a49db0264ebf4c3 Similar parameter that i define in my board and scenario xmls. but i run into a trouble in booting up has this been tested? see this below logs from ACRN Shell.
|
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: Using perf to access hardware events in pre-launched VM
Paolo Crotti
I managed to compile the kernel with the option you told me. The console is now working correctly.
Thanks again for your help! |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: Using perf to access hardware events in pre-launched VM
Paolo Crotti
Hi Minggui,
Sorry if i haven't answered anymore but i'm having problems with kernel recompilation. As soon as I have solved it I'll let you know. |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: CAT definition in the scenario xmls
I’d love to see that being added to our code, would you care to develop and patch and submit it upstream? 😉
Thanks!
From: acrn-users@... <acrn-users@...>
On Behalf Of Minggui Cao
Sent: Saturday, April 2, 2022 2:04 am To: acrn-users@... Subject: Re: [acrn-users] CAT definition in the scenario xmls
Yes, correct.
You can add your code in function: setup_clos
There is a data structure: res_cap_info, if possible, you also can re-use it to configure your L2 CAT.
Thanks Minggui
From:
acrn-users@... <acrn-users@...>
On Behalf Of jordan.nowak22@...
Yes i already tested on ACRN console, what i'm trying to achieve is a permanent configuration |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: CAT definition in the scenario xmls
Minggui Cao
Yes, correct.
You can add your code in function: setup_clos
There is a data structure: res_cap_info, if possible, you also can re-use it to configure your L2 CAT.
Thanks Minggui
From: acrn-users@... <acrn-users@...>
On Behalf Of jordan.nowak22@...
Sent: Friday, April 1, 2022 2:54 PM To: acrn-users@... Subject: Re: [acrn-users] CAT definition in the scenario xmls
Yes i already tested on ACRN console, what i'm trying to achieve is a permanent configuration |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: Using perf to access hardware events in pre-launched VM
Minggui Cao
Just synced with my colleague, the issue could be caused in your kernel configure of pre-launched VM: CONFIG_SERIAL_8250_DETECT_IRQ=y
Please confirm.
Thanks Minggui
From: acrn-users@... <acrn-users@...>
On Behalf Of Paolo Crotti
Sent: Thursday, March 31, 2022 4:57 PM To: acrn-users@... Subject: Re: [acrn-users] Using perf to access hardware events in pre-launched VM
Yes, with the vm terminal I meant ACRN console. After the boot (vm_console 0), the console becomes unusable but the kernel starts correctly. |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: CAT definition in the scenario xmls
jordan.nowak22@...
Yes i already tested on ACRN console, what i'm trying to achieve is a permanent configuration
When you say RDT code. do you mean this below path to code? hypervisor/arch/x86/rdt.c |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: CAT definition in the scenario xmls
Minggui Cao
Hi, Jordan, You can use “wrmsr “ in ACRN console first to configure L2 CAT. If it works for your expectation. You can it into rdt code.
Thanks! Minggui
From: acrn-users@... <acrn-users@...>
On Behalf Of jordan.nowak22@...
Sent: Thursday, March 31, 2022 9:35 AM To: acrn-users@... Subject: Re: [acrn-users] CAT definition in the scenario xmls
[Edited Message Follows] Hi Minggui, |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: Using perf to access hardware events in pre-launched VM
Paolo Crotti
Yes, with the vm terminal I meant ACRN console. After the boot (vm_console 0), the console becomes unusable but the kernel starts correctly.
|
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Re: CAT definition in the scenario xmls
Hi Minggui,
For both L2 and L3 CAT support, do you have any example when you say hard code? or is there any documentation that states this? |
|||||||||||||||||||||||||
|