summary refs log tree commit diff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 7ea2e01..87ecdb6 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -829,7 +829,7 @@ fn set_argument(cfg: &mut Config, name: &str, value: Option<&str>) -> argument::
                         })?,
                 )
         }
-
+        "wl-memfd" => cfg.wl_memfd = true,
         "wayland-sock" => {
             let mut components = value.unwrap().split(',');
             let path =
@@ -1469,6 +1469,10 @@ Number of virtio-net virtual queue pairs.
 (default: 1)
 ",
         ),
+        Argument::flag(
+            "wl-memfd",
+            "Enable support for requesting memfds over virtio_wl.",
+        ),
         Argument::value(
             "wayland-sock",
             "PATH[,name=NAME]",