diff --git a/devices/src/virtio/vhost/user/device/console.rs b/devices/src/virtio/vhost/user/device/console.rs index ec8cd8ec91..b7f77a6b6f 100644 --- a/devices/src/virtio/vhost/user/device/console.rs +++ b/devices/src/virtio/vhost/user/device/console.rs @@ -28,12 +28,12 @@ use crate::virtio::vhost::user::device::handler::{ DeviceRequestHandler, Doorbell, VhostUserBackend, }; use crate::virtio::vhost::user::device::vvu::pci::VvuPciDevice; -use crate::virtio::{self, copy_config}; +use crate::virtio::{self, copy_config, SignalableInterrupt}; -async fn run_tx_queue( +async fn run_tx_queue( mut queue: virtio::Queue, mem: GuestMemory, - doorbell: Arc>, + doorbell: I, kick_evt: EventAsync, mut output: Box, ) { @@ -46,10 +46,10 @@ async fn run_tx_queue( } } -async fn run_rx_queue( +async fn run_rx_queue( mut queue: virtio::Queue, mem: GuestMemory, - doorbell: Arc>, + doorbell: I, kick_evt: EventAsync, in_buffer: Arc>>, in_avail_evt: EventAsync,