On 03/08/2018 04:26 PM, Gerd Hoffmann wrote:
>   Hi,
> 
>> I am playing with the virtio-gpu support on s390 and for that I also wanted 
>> to multiplex
>> the existing consoles.
>> So I basically used the max_outputs=2 of virtio gpu to be able
>> to switch with ctrl+alt+1 and 3 between the virtio gpu and the sclplm 
>> console.
> 
> Why max_outputs=2?  Do you want two fbdev devices?

I had the situation that the vc device does not appear via vnc
(only the virtio-gpu was then available). But I can no longer reproduce. So
with max_outputs=1 this now works as well. No idea what was wrong. And here
I can no longer see the crash.

> 
>> -chardev pty,id=charconsole0 -device 
>> sclpconsole,chardev=charconsole0,id=console0
>> -chardev vc,id=charconsole1 -device 
>> sclplmconsole,chardev=charconsole1,id=console1
>> -device virtio-keyboard-ccw,id=input0,devno=fe.0.0001
>> -vnc 0.0.0.0:0
>> -k en-us
>> -device virtio-gpu-ccw,id=video0,max_outputs=2,devno=fe.0.0008 
>>
>>
>> This seems to work fine, vrtio-gpu is on 1 and sclplm is on 3. Problem is, 
>> when I randomly do ctrl+alt+[^1..9] sooner or later qemu crashes with
> 
> Any chance this is ctrl-alt-2 ?

yes.


Reply via email to