Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make runtime host API more flexible #2801

Closed
kostko opened this issue Apr 1, 2020 · 0 comments · Fixed by #2907
Closed

Make runtime host API more flexible #2801

kostko opened this issue Apr 1, 2020 · 0 comments · Fixed by #2907
Assignees
Labels
c:runtime/loader Category: runtime loader process c:runtime Category: runtime

Comments

@kostko
Copy link
Member

kostko commented Apr 1, 2020

In order to make the runtime host API more flexible to support different execution models in the future, we should refactor the existing worker host into the following parts:

  • go/runtime/host/protocol (from existing go/worker/common/host/protocol)
  • go/runtime/host/manager.go (common part of go/worker/common/host/sandboxed.go that manages Oasis Core Runtime Enclaves, regardless of what sandboxing/confidentiality platform they use)
  • go/runtime/host/sgx (provisioner for Intel SGX using Bubblewrap and runtime-loader).

While refactoring the API we should consider use cases where the runtime abstraction (VM/enclave) is pre-provisioned (e.g., externally provisioned Oasis Core VM and one or more Oasis Core Runtime VMs together with some interconnect).

In addition to the runtime host protocol channel there should also be a separate channel (pipe) for logs from the runtime (related to #1819). The actual transport should be abstracted.

@kostko kostko added the c:runtime/loader Category: runtime loader process label Apr 1, 2020
@kostko kostko self-assigned this May 8, 2020
@kostko kostko added the c:runtime Category: runtime label May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:runtime/loader Category: runtime loader process c:runtime Category: runtime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant