Skip to content

Commit

Permalink
Merge branch 'andrew/rust-host-vsock-agent' into 'master'
Browse files Browse the repository at this point in the history
Add new vsock library and binaries

NOTE: This MR just contains the new vsock additions, but leaves the targets used unchanged. So guest/host images will still use the existing vsock programs until we switch over. Guest and Host still use guest_vsock_v0 and host_vsock_v0. Once testing is complete, we will switch to using guest_vsock_v1 and upgrade the hostOS to a version using host_vsock_v1.

The vsock is currently made up of a guest vsock written in rust and a host vsock written in python. We will rollout upgrades that port the host vsock to rust and refactor the guest vsock to use a newly created protocol.

See [this doc](https://docs.google.com/document/d/1z-WI68l6k5uxbFyWTE83Utjoc-V6OWOWpzT9KTyP5H4/edit#heading=h.y1n95o9884zu) for detailed information on the vsock upgrade.

This MR contains the new code for both the guest and host vsock:
guest_vsock_v0 —> **guest_vsock_v1**
host_vsock_v0 —> **host_vsock_v1**

Note that both guest_vsock_v1 and host_vsock_v1 are backwards compatible with the other’s version 0. 

We plan to rollout the guest_vsock_v1 upgrade, and once all nodes are upgraded, start rolling out the hostOS upgrade containing host_vsock_v1.

This MR relates to the following MRs:
- [Managing HostOS version through NNS](https://gitlab.com/dfinity-lab/public/ic/-/merge_requests/7221)
- [Add orchestrator task watching for HostOS upgrades](https://gitlab.com/dfinity-lab/public/ic/-/merge_requests/10593#8d49e908a97e40df6c0a812a911913297d35bec0) 

See merge request dfinity-lab/public/ic!10813
  • Loading branch information
andrewbattat committed Mar 22, 2023
2 parents c578b02 + 1767cd2 commit 8268ba5
Show file tree
Hide file tree
Showing 34 changed files with 3,037 additions and 1,071 deletions.
1 change: 1 addition & 0 deletions .gitlab/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ go_deps.bzl @dfinity-lab/teams/idx
/rs/execution_environment/ @dfinity-lab/teams/execution-owners @dfinity-lab/teams/runtime-owners
/rs/gitlab-ci-config.yml @dfinity-lab/teams/idx
/rs/guestos_vsock_agent/ @dfinity-lab/teams/node-team
/rs/ic_os/ @dfinity-lab/teams/node-team
/rs/http_endpoints/ @dfinity-lab/teams/networking-team
/rs/https_outcalls/ @dfinity-lab/teams/networking-team
/rs/ic_os/ @dfinity-lab/teams/node-team
Expand Down

0 comments on commit 8268ba5

Please sign in to comment.