summary refs log tree commit diff
path: root/src/wl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wl.rs')
-rw-r--r--src/wl.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/wl.rs b/src/wl.rs
index be2ca2e..45dfbee 100644
--- a/src/wl.rs
+++ b/src/wl.rs
@@ -1,7 +1,8 @@
 // SPDX-License-Identifier: BSD-3-Clause
 
 use devices::virtio::{
-    InterruptProxy, InterruptProxyEvent, RemotePciCapability, Request, Response, VirtioDevice, Wl,
+    InterruptProxy, InterruptProxyEvent, Params, RemotePciCapability, Request, Response,
+    VirtioDevice, VirtioDeviceNew, Wl,
 };
 use msg_socket::MsgSocket;
 use std::collections::BTreeMap;
@@ -47,7 +48,12 @@ fn main() {
     let mut wayland_paths = BTreeMap::new();
     wayland_paths.insert("".into(), "/run/user/1000/wayland-0".into());
 
-    let mut wl = Wl::new(wayland_paths, vm_socket, None).unwrap();
+    let mut wl = Wl::new(Params {
+        wayland_paths,
+        vm_socket,
+        resource_bridge: None,
+    })
+    .unwrap();
 
     loop {
         match msg_socket.recv() {