My annual plea for a thing: I want a type 1 hypervisor that just has a small isolated VM and then passes through the rest of the hardware to the main VM which runs Linux. The small VM is intended to be used to run small pieces of code that the main OS should not be able to interfere with. Does such a thing exist? (Think Xen, but with a Dom0 that can't see into DomUs)
@mjg59 sounds like something you'd need Secure Encrypted Virtualization for
https://www.amd.com/en/developer/sev.html @hyc No, once you're in SEV-land you're not really in a good place to do hardware passthrough
@mjg59 @hyc Curious: what kind of hardware should the security VM need to access?
(I can only guess TPM? For state bootstrap or something?)
@baloo @hyc Potentially the TPM, but otherwise nothing - just CPU, RAM, and some sort of simple intra-VM communication channel.
@mjg59 @hyc
I know you already dismissed SEV, but https://github.com/project-oak/oak seems vaguely related?
This is a VM inside the main OS, but the binary inside the TEE is available over grpc.

GitHub - project-oak/oak: Meaningful control of data in distributed systems.
Meaningful control of data in distributed systems. - project-oak/oak
GitHub