Skip to main content

Module kwtty

Module kwtty 

Source
Expand description

Structured exec and interactive PTY client speaking unkernel’s kwtty binary protocol over virtio-vsock port 1022.

Structs§

ExecOptions
Options for executing a command inside the guest Linux VM via kwtty.
ExecResult
Captured output and exit status of a guest exec invocation.

Constants§

TTY_PORT

Functions§

exec_subprocess
Run a command inside the guest Linux VM over kwtty pipes (stdout + stderr separated).
run_interactive_pty
Interactive PTY session over kwtty (for unkernel-rs shell).