action #41840
closed[sle][s390x][s390-kvm][tools][ltp] Enable virtio_terminal console (VIRTIO_CONSOLE) on svirt backend
0%
Description
Some console based tests (e.g. LTP, but also others) use virtio terminal feature (os-autoinst/consoles/virtio_terminal.pm, VIRTIO_CONSOLE variable).
https://progress.opensuse.org/issues/14582
http://open.qa/docs/#_the_virtio_serial_terminal_implementation
https://w3.suse.cz/~rpalethorpe/training/serial-backend.html
This is based on qemu virtio serial terminal feature
https://fedoraproject.org/wiki/Features/VirtioSerial
It'd be nice if svirt backend (which uses SSH access to a libvirt running host - KVM for System Z in mind) allowed using this console as well, as it's much faster.
Tips in os-autoinst/consoles/virtio_terminal.pm:
This console can be requested when the backend (usually QEMU/KVM) and guest OS
support virtio serial and virtio console. The guest also needs to be in a state
where it can start a tty on the virtual console. By default openSUSE and SLE
automatically start agetty when the kernel finds the virtio console device, but
another OS may require some additional configuration.
It may also be possible to use a transport other than virtio. This code just
requires a UNIX socket which inputs and outputs terminal ASCII/ANSI codes.
Updated by coolo about 6 years ago
- Is duplicate of action #36457: Implement serial terminal console for svirt backend added
Updated by pvorel about 6 years ago
Actually it was implemented in https://github.com/os-autoinst/os-autoinst/pull/1048 (#36457)
Updated by mkittler about 6 years ago
A generic serial console has been implemented (not using the qemu specific virtio).