mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-22 07:51:16 +00:00
The way the code is currently implemented, only by writing to STDIN a user can trigger some input to reach the VM through virtio-console. But in case, there were not enough virtio descriptors to process what was retrieved from STDIN, the remaining bits would be transferred only if STDIN was triggered again. The missing part is that when some descriptors are made available from the guest, the virtio-console device should try to send any possible remaining bits. By triggering the function process_input_queue() whenever the guest notifies the host that some new descriptors are ready for the receive queue, this patch allows to fill the implementation void that was left. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |