qemu_serial_send
Write text directly to a QEMU guest's serial console (COM1) to interact with serial-only shells or debug consoles; include "\n" yourself to send Enter.
Instructions
Write text to the guest's serial console (COM1).
For guests that only expose a shell over serial (no VGA console, or a kernel with a serial-only debug shell) - the bidirectional counterpart to qemu_serial's read-only tail. Sent exactly as given; include "\n" yourself for Enter. Kept on one persistent connection for the VM's lifetime - disconnecting and reconnecting would hang up the serial line. If the connection drops (e.g. the guest is mid-reboot) this reconnects once automatically; if that also fails, raises with a message saying so
retry the call once the guest's serial socket is back up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |