summary refs log tree commit diff
path: root/src/crosvm.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/crosvm.rs')
-rw-r--r--src/crosvm.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crosvm.rs b/src/crosvm.rs
index 4e820c9..bc39e7f 100644
--- a/src/crosvm.rs
+++ b/src/crosvm.rs
@@ -91,6 +91,7 @@ pub struct Config {
     pub cid: Option<u64>,
     pub wayland_socket_path: Option<PathBuf>,
     pub wayland_dmabuf: bool,
+    pub x_display: Option<String>,
     pub shared_dirs: Vec<(PathBuf, String)>,
     pub sandbox: bool,
     pub seccomp_policy_dir: PathBuf,
@@ -136,6 +137,7 @@ impl Default for Config {
             software_tpm: false,
             wayland_socket_path: None,
             wayland_dmabuf: false,
+            x_display: None,
             shared_dirs: Vec::new(),
             sandbox: !cfg!(feature = "default-no-sandbox"),
             seccomp_policy_dir: PathBuf::from(SECCOMP_POLICY_DIR),