aboutsummaryrefslogtreecommitdiff
path: root/hw/arm11mpcore.c
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2013-02-04 22:53:24 +0000
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-13 11:56:02 -0600
commit760794f784f66e262a9ca32821ba202cdf3a3e4b (patch)
tree74d65b3eaff82c79bd2a3c89dce78182bce534be /hw/arm11mpcore.c
parent7ce4106c2125eca8f7f61f460456a49074c13e56 (diff)
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>
Diffstat (limited to 'hw/arm11mpcore.c')
0 files changed, 0 insertions, 0 deletions