summary refs log tree commit diff
path: root/devices/src/virtio/vhost/net.rs
diff options
context:
space:
mode:
Diffstat (limited to 'devices/src/virtio/vhost/net.rs')
-rw-r--r--devices/src/virtio/vhost/net.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/devices/src/virtio/vhost/net.rs b/devices/src/virtio/vhost/net.rs
index 1196200..8462da5 100644
--- a/devices/src/virtio/vhost/net.rs
+++ b/devices/src/virtio/vhost/net.rs
@@ -233,6 +233,7 @@ where
 #[cfg(test)]
 pub mod tests {
     use super::*;
+    use crate::virtio::VIRTIO_MSI_NO_VECTOR;
     use net_util::fakes::FakeTap;
     use std::result;
     use std::sync::atomic::AtomicUsize;
@@ -295,6 +296,7 @@ pub mod tests {
                 EventFd::new().unwrap(),
                 EventFd::new().unwrap(),
                 None,
+                VIRTIO_MSI_NO_VECTOR,
             ),
             vec![Queue::new(1)],
             vec![EventFd::new().unwrap()],