]> git.baikalelectronics.ru Git - kernel.git/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)
commit146790ef09edb6aa19466511d8cc2c10c0a9ac16
tree27260aff3586bd0373ee6cf4a468dd5962209e88
parentb6ac2d263b0798f0e1b5765d01f4477662ea2e77
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