]> git.proxmox.com Git - mirror_qemu.git/commit
s390x/sclpconsole-lm: Fix hanging SCLP line mode console
authorHeinz Graalfs <graalfs@linux.vnet.ibm.com>
Wed, 29 Oct 2014 12:52:02 +0000 (12:52 +0000)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 5 Nov 2014 15:35:56 +0000 (16:35 +0100)
commit87f2eff01623fe3d79e6c0962a3037d48b80b548
treebbc081ca136f7476b6d77a72ec217d8166bac475
parentb3191432cf49c556f47d75c929f5aa692ae59da1
s390x/sclpconsole-lm: Fix hanging SCLP line mode console

Trigger recalculating sets of file descriptors for the main loop's poll()
in order to make sure a possibly removed FD 0 from the poll() file
descriptor array is re-added. FD 0 is removed from the decriptor array
when the console's can_read() callback returns 0.

Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/char/sclpconsole-lm.c