fn handle_input(
    interrupt: &Interrupt,
    buffer: &mut VecDeque<u8>,
    receive_queue: &Arc<Mutex<Queue>>
) -> Result<(), ConsoleError>
Expand description

Checks for input from buffer and transfers it to the receive queue, if any.

§Arguments

  • interrupt - Interrupt used to signal that the queue has been used
  • buffer - Ring buffer providing data to put into the guest
  • receive_queue - The receive virtio Queue