Replies: 2 comments 2 replies
-
Greetings,
Bao's current approach is limiting, you are correct.
We are aware we need to tackle support for platform specific features like these. We haven't looked deeply into this subject yet, so I can't say with certainty what is the best approach. From experience, it seems that for some cases validating the SMC SiP call parameters should be sufficient. In other cases access to SMC SiP interface could be used as a way for guest to interfere with each other, and so they cannot be safely supported. At this moment I don't think there's a need for a trusted VM, but again, we haven't looked deeply into this yet. |
Beta Was this translation helpful? Give feedback.
-
@jdbl24 Can I ask what specific kind of SiP services you need in your setup? And as @DavidMCerdeira pointed out, it should be straightforward to pass through these calls for a specific guest, which I believe would in essence become privilege. This is the reason for my previous question. If any of these SiP calls allows the guest to modify platform-wide configurations the guest would become part of the TCB. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a question regarding how Bao handles the SMC calls related to the SiP service call interface on IMX8QM SoCs.
In Xen, these SMC SiP calls (for dom0) are forwarded to the firmware because many drivers need to issue such SMCs for managing hardware ( xen/arm: Add imx8q{m,x} platform glue ).
I am aware that Bao does not rely on a privileged VM such as Xen, but it looks like Bao does not support the SiP service call interface.
Does this not create limitations for running VMs with Bao on the IMX8QM?
This may also apply to other platforms.
I wonder if the SMC SiP call interface is necessary for the operation of some platforms or if dispensing with it does not create limitations.
If the SMC SiP call interface were necessary for the operation on certain SoCs, how would it be implemented in a hypervisor such as Bao since there is no "Trusted VM"?
Thank you in advance for your reply and have a nice day.
Kind regards,
Jean
Beta Was this translation helpful? Give feedback.
All reactions