mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2026-01-08 20:57:35 +00:00
input: fix two minor typos
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
This commit is contained in:
parent
e1ef9d0239
commit
eed437ca9a
@ -10,7 +10,7 @@ It polls on a host's input event device (/dev/input/eventX) and passes the
|
||||
input event data to guests.
|
||||
|
||||
This program is tested with QEMU's `vhost-user-input-pci`. The
|
||||
implemenation is based on the vhost-user protocol and as such should be
|
||||
implementation is based on the vhost-user protocol and as such should be
|
||||
interoperable with other virtual machine managers. Please see below for
|
||||
working examples.
|
||||
|
||||
|
||||
@ -186,7 +186,7 @@ impl<T: InputDevice> VuInputBackend<T> {
|
||||
} else {
|
||||
// Now cannot get available descriptor, which means the host cannot process
|
||||
// event data in time and overrun happens in the backend. In this case,
|
||||
// we simply drop the incomping input event and notify guest for handling
|
||||
// we simply drop the incoming input event and notify guest for handling
|
||||
// events. At the end, it returns Ok(false) so can avoid exiting the thread loop.
|
||||
self.ev_list.clear();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user