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

Decouple Vmm from its Firecracker-specific RPC interface #1713

Closed
acatangiu opened this issue Mar 26, 2020 · 2 comments
Closed

Decouple Vmm from its Firecracker-specific RPC interface #1713

acatangiu opened this issue Mar 26, 2020 · 2 comments
Assignees

Comments

@acatangiu
Copy link
Contributor

acatangiu commented Mar 26, 2020

This issue is part of a story that tracks a state where the vmm crate is no longer Firecracker-specific.

Benefits:

  • swapping out Vmm implementations in Firecracker - the vmm crate used in Firecracker could be one from rust-vmm.
  • upstreaming/outsourcing the current Vmm implementation in Firecracker to other projects.
  • reducing the barrier-to-entry in Firecracker code-base by having much more contained components.
  • clear language-enforced dependencies in the form of crates helps keeping the code clean by forcing contributors to work at the right level with the right resources.

Scope:

vmm_config, VmResources, Pre-boot and Runtime Controllers and rpc_interface to be moved to an external rpc_interface crate that depend on Vmm. Dependency graph will be:

+---------------+     Dependencies
|  Firecracker  |           |
+---------------+           |
|  API Server   |           |
+---------------+           |
| RPC Interface |           |
+---------------+           |
|      Vmm      |           |
+---------------+           V

With Vmm decoupled from all Firecracker-specific configuration primitives and logic.

@acatangiu
Copy link
Contributor Author

acatangiu commented Apr 13, 2020

@luminitavoicu
Copy link
Contributor

We don't have an immediate plan for this. Will reopen in the future if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants