Conversation

Jarkko Sakkinen

Edited 4 months ago

Cool got some response from rust-vmm/vm-memory people, asking to give more details, which I will provide next week.

#Enarx is a kind of hybrid #VMM, and I think this is exactly where I think the overall rust-vmm umbrella has the best opportunities. I.e. instead of just hosting guests with QEMU you might want to do a tailored VMM below to get the optimal characteristics in performance, security and whatnot for your use case.

Enarx hosts #WebAssembly payloads in confidential computing environment. To realize those it:

  1. Uses #KVM API to bootstrap wasm run-time inside a #AMD SEV-SNP VM.
  2. Uses /dev/sgx to partition address space for boostrapping a wasm run-time inside an #Intel SGX enclave.

The first one is very surgically constructed VM with all access outside it disable, and the second is not actually VM at all.

My take is here that any commercially viable memory API should first of all scale to all possible types on VM’s, and also address stuff “on the edges of universum”, e.g. SGX enclaves, which in many ways resemble VM’s (at least to some level).

#Linux #Rust #rustlang

0
2
1