Re: Using perf to access hardware events in pre-launched VM
I don’t meet that issue. If you have Pre-launched RTVM / Service VM, you can check in ACRN console: vm_list
And then vm_console N to switch the VM console.
From: acrn-users@... <acrn-users@...> On Behalf Of Paolo Crotti
Sent: Thursday, March 31, 2022 1:07 AM
Subject: Re: [acrn-users] Using perf to access hardware events in pre-launched VM
IT WORKS! I set the scenario as you said and now I can read the cache events.
Thank you so much for the help.
Only one small note: when I use the GUEST_FLAG_LAPIC_PASSTHROUGH flag, the terminal of the VM (minicom) becomes unresponsive. When I start the VM, I see some of the kernel messages: it displays only the ones with the time (like [ 1.299022] Run /init as init process) and none with the "ok" (like [ OK ] Started WPA supplicant.). I cannot write or interact in any way with the shell.
It seems that, for some reason, it no longer shows the stdout and doesn't get the stdin.
It's not a real problem because the kernel starts correctly and I connect to the machine via SSH, still it's strange because it happens only with that flag.
Anyway, thanks again for your help.
On Wed, 30 Mar 2022 at 02:40, Minggui Cao <minggui.cao@...> wrote: