qemu_serial
Read the tail of a VM's serial console output, including after the guest crashes or exits, to inspect final boot or error messages without SSH.
Instructions
Read the tail of the VM's serial console output (COM1).
Works even after the VM has exited (guest crash, or quit via
qemu_qmp) so you can see what it printed right before dying - the
exited VM stays visible here until qemu_list's next call reaps it.
tail_lines must be positive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tail_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |