You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
openvmm: remove byte-channel host input; move interactive and test consoles to the boot console #549
Managed microVM launches never send host input through the byte channel (portb, ports 0xe9–0xeb). With --microvm-control-auth-stdin, OpenVMM connects it to stderr, output only. Remove its host input (RX) entirely, so host input reaches a guest only through the control console or the boot console, by design rather than by how the frontends wire it.
What uses RX today
nvx.py run and one-shot nvx.py sandbox run, whose shell runs on hvc0 when no boot console is configured.
test-microvm scenarios and benchmarks built from workload_boot_command, which type into the guest through OpenVMM's stdin, such as snapshot-core and the snapshot benchmark's console_input_dispatch phase.
The management RPC, which can attach the byte channel to a caller-chosen serial socket.
What stays
Output (TX): early boot messages (earlycon=xe9) and the managed agent's failure reports, which it writes to port 0xe9. With the boot console set to none, this is the only guest output that reaches openvmm.log in managed launches.
The restore packet, generation ID, and time samples, which the guest reads as separate records, not console input.
Tasks
OpenVMM: stop reading the host endpoint in vm/devices/chipset/src/microvm.rs, keep the input-pending status bit clear, and decide how restore treats pending RX bytes in existing snapshots.
NVX: move nvx.py run, nvx.py sandbox run, test-microvm, and the benchmarks to --virtio-console console, and decide whether the affected performance series reset.
Consider a TX bound smaller than 1 MiB.
Update doc/design/3.1-platform-control-device.md and the usage documentation.
changed the title [-]microVM: remove byte-channel host input; move interactive and test consoles to the boot console[/-][+]openvmm: remove byte-channel host input; move interactive and test consoles to the boot console[/+]on Oct 29, 2026
Activity
[-]microVM: remove byte-channel host input; move interactive and test consoles to the boot console[/-][+]openvmm: remove byte-channel host input; move interactive and test consoles to the boot console[/+]nvx-rs: give run's guests and one-shot sandboxes the boot console
nvx-rs: give run's guests and one-shot sandboxes the boot console
scripts: give benchmark and test-microvm guests the boot console
scripts: give benchmark and test-microvm guests the boot console
vmm_tests: drive the microVM guests without portb input
microVM: remove portb's host input
scripts: check the boot console's output at a guest-requested exit
nvx-rs: give run's guests and one-shot sandboxes the boot console
doc: map the removal of portb's host input in the OpenVMM roadmap
doc: map the removal of portb's host input in the OpenVMM roadmap
doc: map the removal of portb's host input in the OpenVMM roadmap
doc: map the removal of portb's host input in the OpenVMM roadmap
doc: map the removal of portb's host input in the OpenVMM roadmap
openvmm: pin the boot console's exit drain
doc: map the boot console's exit drain in the OpenVMM roadmap
nvx-rs: give run's guests and one-shot sandboxes the boot console
kernel: let the boot console replace the xe9 early console
scripts: give benchmark and test-microvm guests the boot console
microVM: drain the boot console's terminal output at guest exit
vmm_tests: drive the microVM guests without portb input
microVM: remove portb's host input