After discussing with my Friends working on KVM on s390x I found the
following to get me "extra consoles onto unix sockets". The default as
mentioned is a sclp console and that is required for early messages and
also the recommended and tested one.

For further consoles they recommend to use virtio-serial/virtconsoles.
Based on the feedback I constructed these parms for my adt qemu:

-device virtio-serial -chardev
socket,path=/tmp/testadt/ttyhvc,server,nowait,id=ttyhvc -device
virtconsole,chardev=ttyhvc,name=org.fedoraproject.console.ttyhvc

That gives me a login prompt on /tmp/testadt/ttyhvc just as adt needs
it.

I first thought it might need a modification like "console=hvc0" as kernel 
commandline.
But the hvc consoles seem to be auto-initialized if existing - so no change 
inside the guest needed.

So the current default:
-serial unix:/tmp/autopkgtest-virt-qemu.84_ut07n/ttyS0,server,nowait -serial 
unix:/tmp/autopkgtest-virt-qemu.84_ut07n/ttyS1,server,nowait
should for s390x be converted to use the one outlined above.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1630909

Title:
  failing console access on s390x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1630909/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to