virtme icon indicating copy to clipboard operation
virtme copied to clipboard

s390x: avoid to set serial console

Open alicefr opened this issue 5 years ago • 4 comments

The serial console and the sclpconsole conflict with this error on s390x: qemu-system-s390x: -device sclpconsole,chardev=console: Multiple VT220 operator consoles are not supported qemu-system-s390x: -device sclpconsole,chardev=console: SCLP event initialization failed.

We can only enable the sclpconsole console

Signed-off-by: Alice Frosi [email protected]

alicefr avatar Apr 23 '20 06:04 alicefr

LGTM. @amluto do you have a better idea to solve this issue?

marcosps avatar Jul 06 '20 18:07 marcosps

I clearly don't understand what's going on here. Without this patch, we get this:

-device sclpconsole,chardev=console
-parallel none
-net none
-echr 1
-serial none
-chardev stdio,id=console,signal=off,mux=on
-serial chardev:console
-mon chardev=console

This does indeed fail, but removing -serial none doesn't help.

Want to make a new patch that wires this up in a somewhat sensible way through architectures.py and makes the correct change to the arguments? It looks like there should be a default function that supplies -serial chardev:console and an s390x override that supplies the -device sclpconsole,chardev=console.

amluto avatar Jul 19 '20 17:07 amluto

I tested the solution proposed in #75, and since it's more generic I believe that we can have it merged. What do you think?

marcosps avatar Aug 15 '22 12:08 marcosps

This has been merged/fixed in https://github.com/arighi/virtme

NOTE: we are trying to catch up with all the pending PR in this temporary fork. In the future we may merge everything back here if this project become active again, but for now please consider to follow also the development of arighi/virtme.

arighi avatar Apr 07 '23 14:04 arighi