lguest: suppress PS/2 keyboard polling.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 04:45:10 +0000 (15:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 06:17:32 +0000 (16:47 +1030)
commit48fd6b71d60ef66ef2d791045d750168c0d09201
treefcb01466eada372e4de571eff88fb5af41d36096
parentc565650b1028bc551e5d16dd0ec8f7078da7cace
lguest: suppress PS/2 keyboard polling.

While hacking on getting I/O out to the lguest launcher, I noticed
that returning 0xFF for the PS/2 keyboard status made it spin for a
while thinking there was a key pending.  Fix this by returning 1
instead of 0xFF.

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