qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failed to execute "SMC" call on Guest OS.


From: Chenxu Wang
Subject: Re: Failed to execute "SMC" call on Guest OS.
Date: Thu, 23 Sep 2021 20:22:29 +0800

Thanks Maydell,

Since the Guest OS is unable to directly calls the Host OS, I design an undirected way, can you help me to check it?

I ask KVM to catch the SMC calls, and modify KVM (really KVM? not QEMU?)'s exception handler. In the handler, I route the SMC call to the Host OS rather than "Undefined".

Is it OK? 

Sincerely,
Wang Chenxu

Peter Maydell <peter.maydell@linaro.org> 于2021年9月23日周四 下午7:22写道:
On Thu, 23 Sept 2021 at 12:09, Chenxu Wang <irakatz51@gmail.com> wrote:
> In my FVP, I want to write a Trusted Application (TA) and want my Guest
> OS to call the application.

You can't do this. The guest OS inside a VM does not have
direct access to call a host system secure world application.
The host kernel keeps code running inside the VM safely contained
(which is the job of a hypervisor like KVM), so anything that in-the-VM
code wants to do it must do via KVM.

> PS: I Still do not know how to reply to the thread in the
> mailing list, maybe cc the mailing list is OK?

Yes, either to: or cc: works fine. Any mail client should have
some kind of "reply to all" button, which is what you want.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]