summary refs log tree commit diff
path: root/src/linux.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux.rs')
-rw-r--r--src/linux.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linux.rs b/src/linux.rs
index b5235d1..78942ea 100644
--- a/src/linux.rs
+++ b/src/linux.rs
@@ -535,7 +535,7 @@ fn create_net_device(
 fn create_gpu_device(
     cfg: &Config,
     exit_evt: &EventFd,
-    _gpu_device_socket: VmMemoryControlRequestSocket,
+    gpu_device_socket: VmMemoryControlRequestSocket,
     gpu_socket: virtio::resource_bridge::ResourceResponseSocket,
     wayland_socket_path: &Path,
 ) -> DeviceResult {
@@ -543,6 +543,7 @@ fn create_gpu_device(
 
     let dev = virtio::Gpu::new(
         exit_evt.try_clone().map_err(Error::CloneEventFd)?,
+        Some(gpu_device_socket),
         Some(gpu_socket),
         if cfg.sandbox {
             &jailed_wayland_path