8000 T28 — Warn within a minute when the VM's switch datapath is lost by minimal-foundry[bot] · Pull Request #1679 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion crates/minvmd/src/cmd/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,11 @@ fn run_foreground() -> Result<()> {
crate::sock::prepare_socket_dir(&switch_sock).context("preparing switch socket dir")?;
crate::sock::remove_stale_socket(&switch_sock)
.context("removing stale switch socket")?;
match crate::net::HostGvproxy::spawn(binary, switch_sock) {
match crate::net::HostGvproxy::spawn(
binary,
switch_sock,
crate::net::DEFAULT_DATAPATH_CHECK_INTERVAL,
) {
Ok(gvproxy) => {
tracing::info!(pid = gvproxy.pid(), "host gvproxy switch up");
Some(gvproxy)
Expand Down
Loading
Loading
0