Skip to content

Remove passt networking mode support#495

Merged
kvinwang merged 1 commit intomasterfrom
remove-passt
Feb 7, 2026
Merged

Remove passt networking mode support#495
kvinwang merged 1 commit intomasterfrom
remove-passt

Conversation

@kvinwang
Copy link
Collaborator

@kvinwang kvinwang commented Feb 7, 2026

Summary

  • Completely remove passt networking mode from VMM
  • Remove passt-related config fields, CLI options, qemu config generation, and process lifecycle management
  • Passt processes were leaking in supervisor because stop_vm and remove_vm didn't clean them up; removing the mode entirely eliminates this class of bugs

Changed files

  • vmm/src/config.rs — Remove NetworkingMode::Passt, passt struct fields, is_passt()
  • vmm/src/app.rs — Remove passt stop/remove logic from start_vm and remove_vm
  • vmm/src/app/qemu.rs — Remove config_passt(), Passt match arm, passt workdir methods
  • vmm/src/main_service.rs — Remove passt from proto conversion
  • vmm/src/vmm-cli.py — Remove 'passt' from --net choices
  • vmm/src/console_v1.html — Remove Passt option from UI dropdown
  • vmm/vmm.toml — Remove passt config section
  • vmm/rpc/proto/vmm_rpc.proto — Update comment

Test plan

  • cargo fmt and cargo clippy pass
  • Verify existing VMs with user and bridge networking modes still work

@kvinwang kvinwang mentioned this pull request Feb 7, 2026
6 tasks
Passt was an alternative networking backend that caused supervisor
process leaks — passt processes were not cleaned up on VM stop/remove,
accumulating zombie entries in the supervisor. Remove all passt support
in favor of bridge and user networking modes.
@kvinwang kvinwang merged commit 0f1d1c0 into master Feb 7, 2026
11 checks passed
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

Successfully merging this pull request may close these issues.

1 participant