cloud-hypervisor/vm-virtio
Sebastien Boeuf 38468d3d9b vm-virtio: Improve virtio-console input processing
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>
2020-01-08 15:37:02 +01:00
..
src vm-virtio: Improve virtio-console input processing 2020-01-08 15:37:02 +01:00
Cargo.toml vm-virtio, vmm, vfio: Store GuestMemoryMmap in an Arc<ArcSwap<T>> 2020-01-02 13:20:11 +00:00