qemu-e2k/hw/s390x
Christian Borntraeger 760794f784 s390/sclpconsole: prevent char layer callback during initialization
Starting a qemu with an sclp console and pressing a key very early
can result in
"qemu-system-s390x: hw/s390x/sclpconsole.c:60: receive_from_chr_layer:
Assertion `scon->iov' failed."

Lets make sure that the init process is finished, since the iov is
allocated after CHR_EVENT_OPENED by also checking for scon->iov.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-02-13 11:56:02 -06:00
..
css.c s390: css error codes. 2013-01-29 21:50:05 +01:00
css.h s390: Virtual channel subsystem support. 2013-01-29 21:50:04 +01:00
event-facility.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
event-facility.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
ipl.c target-s390x: Pass S390CPU to s390_{add, del}_running_cpu() 2013-02-01 02:02:20 +01:00
Makefile.objs s390: Add s390-ccw-virtio machine. 2013-01-29 21:50:05 +01:00
s390-virtio-bus.c virtio-net: pass host features to virtio_net_init 2013-02-08 07:37:24 -06:00
s390-virtio-bus.h s390: Move hw files to hw/s390x 2013-01-29 21:50:04 +01:00
s390-virtio-ccw.c s390: Add s390-ccw-virtio machine. 2013-01-29 21:50:05 +01:00
s390-virtio-hcall.c s390: Move hw files to hw/s390x 2013-01-29 21:50:04 +01:00
s390-virtio.c target-s390x: Pass S390CPU to s390_{add, del}_running_cpu() 2013-02-01 02:02:20 +01:00
s390-virtio.h s390: Add s390-ccw-virtio machine. 2013-01-29 21:50:05 +01:00
sclp.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
sclp.h s390x: Spelling fixes (endianess -> endianness, occured -> occurred) 2012-12-07 12:34:11 +01:00
sclpconsole.c s390/sclpconsole: prevent char layer callback during initialization 2013-02-13 11:56:02 -06:00
sclpquiesce.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
virtio-ccw.c virtio-net: pass host features to virtio_net_init 2013-02-08 07:37:24 -06:00
virtio-ccw.h s390: Add new channel I/O based virtio transport. 2013-01-29 21:50:04 +01:00