Re: Need support for launching post RTVM


Liu, Fuzhong
 

Hi

For security concern, Service VM is not allowed to inject virtual interrupt to RTVM since the severity of RTVM is higher than Service VM.

From you shared launch log, virtio-blk is used for User VM.

[2022-03-14 12:23:57][  386.814720] pci init virtio-blk

Please help to check if   CONFIG_VIRTIO_PMD  is set in your RTVM kernel config.

 

Thanks!

 

BR.

Fuzhong

From: acrn-users@... <acrn-users@...> On Behalf Of shibi590268@...
Sent: Monday, March 14, 2022 3:04 PM
To: acrn-users@...
Subject: [acrn-users] Need support for launching post RTVM

 

[Edited Message Follows]

Hello ACRN,
          I am trying to run RT patched Ubuntu 18.04 with 5.4.177.rt69 kernel. I have generated the scenario xml and launch scripts.
Scenario: Shared
ACRN tag: acrn-2022w03.2-100000p
ACRN kernel: acrn-2022w03.2-100000p
Board: Intel  apollo lake

The OS gets launched by launch scripts without RTVM. If it is launched with script for RTVM i see vm exit handler failed in the acrn console. I am attaching the scenario.xml, launchscript xml and board file.

ACRN:\>[1774455470us][cpu=1][vm0:vcpu1][sev=3][seq=132]:ret=-1 hypercall=0x80000031 failed in vmcall_vmexit_handler

I followed the solution posted in the threadhttps://github.com/projectacrn/acrn-hypervisor/issues/6950 by picking up the acrn-kernel 5.10.83 patched with rt and installed into ubuntu18.04. But still the problem persists. 

5.10.84 kernel should be working with the ubuntu18.04 because my service vm is ubuntu18.04 with 5.10.83 sos kernel. Please help me address this problem. 
I measured the task timing performance of RTVM launched with launch script for the a normal uos. The maximum latency is high in range of 10000us while it is expected to be below 50 us. 

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