[sle][s390x][s390-kvm][tools][ltp] Enable virtio_terminal console (VIRTIO_CONSOLE) on svirt backend
Some console based tests (e.g. LTP, but also others) use virtio terminal feature (os-autoinst/consoles/virtio_terminal.pm, VIRTIO_CONSOLE variable).
This is based on qemu virtio serial terminal feature
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.
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.
#5 Updated by pvorel almost 3 years ago
Actually it was implemented in https://github.com/os-autoinst/os-autoinst/pull/1048 (#36457)