]> err.no Git - linux-2.6/commit
Example launcher handle guests not being ready for input
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Oct 2007 01:24:23 +0000 (11:24 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Oct 2007 05:49:56 +0000 (15:49 +1000)
commit56ae43dfe233323683248a5c553bad7160db2fa5
tree27260aff3586bd0373ee6cf4a468dd5962209e88
parent17cbca2ba3de990258943d9e5a1788430ca3ad0d
Example launcher handle guests not being ready for input

We currently discard console and network input when the guest has no
input buffers.  This patch changes that, so that we simply stop
listening to that fd until the guest refills its input buffers.

This is particularly important because hvc_console without interrupts
does backoff polling and so often lose characters if we discard.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Documentation/lguest/lguest.c