diff options
author | Heinz Graalfs <graalfs@linux.vnet.ibm.com> | 2012-10-29 02:13:25 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-10-29 19:41:56 +0100 |
commit | 130c57c036fdc2eba8936da1b1dad39e78d5ea32 (patch) | |
tree | 4427834c76ee65dae92cf77a491466a10b21e2db /dump-stub.c | |
parent | ab9074b559823a22822db9e299198c53169c34ea (diff) | |
download | qemu-130c57c036fdc2eba8936da1b1dad39e78d5ea32.zip qemu-130c57c036fdc2eba8936da1b1dad39e78d5ea32.tar.gz qemu-130c57c036fdc2eba8936da1b1dad39e78d5ea32.tar.bz2 |
s390: sclp ascii console support
This code adds console support by implementing SCLP's ASCII Console
Data event. This is the same console as LPARs ASCII console or z/VMs
sysascii.
The console can be specified manually with something like
-chardev stdio,id=charconsole0 -device sclpconsole,chardev=charconsole0,id=console0
Newer kernels will autodetect that console and prefer that over virtio
console.
When data is received from the character layer it creates a service
interrupt to trigger a Read Event Data command from the guest that will
pick up the received character byte-stream.
When characters are echo'ed by the linux guest a Write Event Data occurs
which is forwarded by the Event Facility to the console that supports
a corresponding mask value.
Console resizing is not supported.
The character layer byte-stream is buffered using a fixed size iov
buffer.
Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'dump-stub.c')
0 files changed, 0 insertions, 0 deletions