Commit b28e6dc
committed
Add VSockPath to GetVmInfoResponse
Firecracker's virtio-vsock implementation bypasses the the host kernel
by mediating between AF_UNIX on the host and AF_VSOCK in the guest.
Firecracker-containerd places the host AF_UNIX socket path in the
internal shim storage directory when launching a VM. Vsock is currently
only used for communication between the shim and the in-VM agent.
For some use-cases (e.g. remote snapshotters) it would be useful to
have additional services listening on vsock inside the VM with corresponding
host services to communicate with them. This change adds VSockPath to
GetVmInfoResponse to allow a host service to get the host AF_UNIX socket path
to open additional connections to vsock services in the guest.
Signed-off-by: Kern Walster <walster@amazon.com>1 parent 321527e commit b28e6dc
File tree
4 files changed
+78
-66
lines changed- proto
- runtime
4 files changed
+78
-66
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
711 | 711 | | |
712 | 712 | | |
713 | 713 | | |
| 714 | + | |
714 | 715 | | |
715 | 716 | | |
716 | 717 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
412 | 413 | | |
413 | 414 | | |
414 | 415 | | |
| |||
0 commit comments