Package: crosvm
Version: 0.1.0~git20261117.a116b6ccd+ds-1
Severity: wishlist
X-Debbugs-Cc: [email protected]


Hi Yunseong,

Previously the GPU support is disabled due to missing dependencies.
But I tried to package them all. And now they are in Debian unstable.

I think it might be good to turn on the GPU support.

The attached is a debdiff that turns on the GPU support.
Please take a look at it.

Thanks a lot,
Paul

-- System Information:
Debian Release: 13.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.118+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

diff -Nru crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/changelog 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/changelog
--- crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/changelog      2026-11-17 
09:52:10.000000000 +0000
+++ crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/changelog      2026-12-01 
11:20:50.000000000 +0000
@@ -1,3 +1,18 @@
+crosvm (0.1.0~git20261117.a116b6ccd+ds-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Enable GPU support:
+    - debian/rules: Add gpu,virgl_renderer,vulkano,x to CROSVM_FEATURES.
+    - debian/control: Add GPU build dependencies.
+    - debian/patches/debian-trim-workspace.patch: Updated.
+    - debian/patches/debian-relax-dependencies.patch: Relax rutabaga_gfx to
+      0.1.85 and gpu_display's which dependency to 8.
+    - debian/patches/debian-gpu-display-built-using.patch: Emit
+      dh-cargo:deb-built-using metadata for the in-tree libdisplay_wl.a static
+      archive.
+
+ -- Ying-Chun Liu (PaulLiu) <[email protected]>  Tue, 01 Dec 2026 11:20:50 
+0000
+
 crosvm (0.1.0~git20261117.a116b6ccd+ds-1) unstable; urgency=medium
 
   * New upstream snapshot a116b6ccd.
diff -Nru crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/control 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/control
--- crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/control        2026-11-17 
09:52:10.000000000 +0000
+++ crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/control        2026-12-01 
11:20:36.000000000 +0000
@@ -12,6 +12,7 @@
  librust-async-task-4+default-dev,
  librust-async-trait-0.1+default-dev,
  librust-bitflags-2+default-dev,
+ librust-cc-1+default-dev,
  librust-cfg-if-1+default-dev,
  librust-chrono-0.4+now-dev,
  librust-chrono-0.4+serde-dev,
@@ -42,12 +43,16 @@
  librust-p9-0.3+default-dev,
  librust-paste-1+default-dev,
  librust-pin-utils-0.1+default-dev,
+ librust-pkg-config-0.3+default-dev,
  librust-proc-macro2-1+default-dev,
  librust-protobuf-codegen-3+default-dev,
  librust-quote-1+default-dev,
  librust-rand-0.10+default-dev,
  librust-rayon-1+default-dev,
  librust-remain-0.2+default-dev,
+ librust-rutabaga-gfx-0.1+default-dev (>= 0.1.85),
+ librust-rutabaga-gfx-0.1+virgl-renderer-dev (>= 0.1.85),
+ librust-rutabaga-gfx-0.1+vulkano-dev (>= 0.1.85),
  librust-serde-1+default-dev,
  librust-serde-1+derive-dev,
  librust-serde-1+rc-dev,
@@ -71,11 +76,16 @@
  librust-zerocopy-0.8+derive-dev,
  librust-zeroize-1+default-dev,
  libstd-rust-dev,
+ libvirglrenderer-dev (>= 1.3.0),
+ libwayland-dev,
+ libx11-dev,
+ libxext-dev,
  pkgconf,
  protobuf-compiler,
  python3-minijail,
  python3:native,
  rustc:native,
+ wayland-protocols,
 Standards-Version: 4.7.4
 Homepage: https://crosvm.dev/
 Vcs-Browser: https://salsa.debian.org/ysk/crosvm
@@ -101,6 +111,7 @@
  namespaces, seccomp-bpf filters and minijail, so a bug in a device backend
  does not immediately compromise the host.
  .
- This package builds the Linux hypervisor with the KVM backend. The graphics
- and slirp features are not enabled: the former needs Rust crates that are not
- in Debian, and the latter is a Windows-only backend upstream.
+ This package builds the Linux hypervisor with the KVM backend and virtio-gpu
+ graphics support (Wayland/X11 host display, virglrenderer 3D acceleration,
+ and vulkano gralloc). The slirp feature is not enabled as it is a Windows-only
+ backend upstream.
diff -Nru 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-gpu-display-built-using.patch
 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-gpu-display-built-using.patch
--- 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-gpu-display-built-using.patch
   1970-01-01 01:00:00.000000000 +0100
+++ 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-gpu-display-built-using.patch
   2026-12-01 11:20:36.000000000 +0000
@@ -0,0 +1,29 @@
+From: Ying-Chun Liu (PaulLiu) <[email protected]>
+Subject: Emit dh-cargo:deb-built-using metadata for libdisplay_wl.a
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2026-12-01
+
+gpu_display/build.rs compiles src/display_wl.c (BSD-3-Clause) and generated
+Wayland protocol C bindings (Expat) into a static archive libdisplay_wl.a.
+None of those licenses require distributing the source alongside binaries, so
+tell dh-cargo-built-using accordingly ($s=0). Pass the workspace root
+(parent of CARGO_MANIFEST_DIR) so dh-cargo-built-using recognizes that the
+archive is built from this source package itself (CARGO_BUILT_USING_SRC_DIR).
+
+--- a/gpu_display/build.rs
++++ b/gpu_display/build.rs
+@@ -98,6 +98,13 @@ fn build_wayland() {
+         build.file(compile_protocol(protocol, &out_dir));
+     }
+     build.compile("display_wl");
++    println!(
++        "dh-cargo:deb-built-using=display_wl=0={}",
++        Path::new(&env::var("CARGO_MANIFEST_DIR").unwrap())
++            .parent()
++            .unwrap()
++            .display()
++    );
+ 
+     println!("cargo:rustc-link-lib=dylib=wayland-client");
+ }
diff -Nru 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-relax-dependencies.patch
 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-relax-dependencies.patch
--- 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-relax-dependencies.patch
        2026-11-17 09:52:10.000000000 +0000
+++ 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-relax-dependencies.patch
        2026-12-01 11:20:36.000000000 +0000
@@ -1,20 +1,20 @@
 From: Yunseong Kim <[email protected]>
 Subject: Use the crate versions packaged in Debian
 Forwarded: not-needed
-Last-Update: 2026-11-10
+Last-Update: 2026-12-01
 
  - libc 0.2.188 -> 0.2.186: the only newer symbol crosvm uses,
    RWF_DONTCACHE, is already in 0.2.186.
- - rand 0.9 -> 0.10, lz4_flex 0.11 -> 0.13, indexmap 1 -> 2, which 4 -> 8:
-   no source changes needed.
+ - rand 0.9 -> 0.10, lz4_flex 0.11 -> 0.13, indexmap 1 -> 2, which 4 -> 8,
+   rutabaga_gfx =0.1.80 -> 0.1.85: no source changes needed.
  - env_filter 1 -> 2: 2.0 only adds no_std support behind a new default
    "std" feature, which Builder::parse needs, so enable it.
 
-diff --git a/Cargo.toml b/Cargo.toml
-index aa14a49..3707a8e 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -200,8 +200,8 @@ ciborium = "0.2.2"
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/Cargo.toml
+@@ -201,10 +201,10 @@ ciborium = "0.2.2"
  enumn = "0.1.0"
  gdbstub = "0.7.0"
  gdbstub_arch = "0.3.0"
@@ -23,12 +23,15 @@
 +libc = "0.2.186"
 +rand = "0.10"
  remain = "0.2"
- rutabaga_gfx = "=0.1.80"
+-rutabaga_gfx = "=0.1.80"
++rutabaga_gfx = "0.1.85"
  serde = "1.0"
-diff --git a/base/Cargo.toml b/base/Cargo.toml
-index 0bd90eb..5af9059 100644
---- a/base/Cargo.toml
-+++ b/base/Cargo.toml
+ serde_json = "1"
+ static_assertions = "1.1"
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/base/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/base/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/base/Cargo.toml
 @@ -19,7 +19,7 @@ sync = { workspace = true }
  
  cfg-if = { workspace = true }
@@ -38,10 +41,10 @@
  env_logger = { version = "0.11.0", default-features = false }
  libc = { workspace = true }
  log = "0.4"
-diff --git a/cros_fdt/Cargo.toml b/cros_fdt/Cargo.toml
-index 0986cb2..62f7681 100644
---- a/cros_fdt/Cargo.toml
-+++ b/cros_fdt/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/cros_fdt/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/cros_fdt/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/cros_fdt/Cargo.toml
 @@ -6,6 +6,6 @@ edition = "2021"
  license = "BSD-3-Clause"
  
@@ -50,11 +53,11 @@
 +indexmap = "2"
  remain = { workspace = true }
  thiserror = { workspace = true }
-diff --git a/jail/Cargo.toml b/jail/Cargo.toml
-index 9f09f81..b768edf 100644
---- a/jail/Cargo.toml
-+++ b/jail/Cargo.toml
-@@ -30,7 +30,7 @@ zerocopy = { version = "0.8.13", features = ["derive"] }
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/jail/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/jail/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/jail/Cargo.toml
+@@ -30,7 +30,7 @@ zerocopy = { version = "0.8.13", feature
  minijail = "*"
  
  [build-dependencies]
@@ -63,10 +66,10 @@
  rayon = "1.5.3"
  
  [dev-dependencies]
-diff --git a/kernel_loader/Cargo.toml b/kernel_loader/Cargo.toml
-index ac5ac71..7f53fa9 100644
---- a/kernel_loader/Cargo.toml
-+++ b/kernel_loader/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/kernel_loader/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/kernel_loader/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/kernel_loader/Cargo.toml
 @@ -10,7 +10,7 @@ workspace = true
  [dependencies]
  data_model = { workspace = true }
@@ -76,10 +79,10 @@
  remain = { workspace = true }
  resources = { workspace = true }
  thiserror = { workspace = true }
-diff --git a/vm_memory/Cargo.toml b/vm_memory/Cargo.toml
-index c1f93f0..54b6060 100644
---- a/vm_memory/Cargo.toml
-+++ b/vm_memory/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/vm_memory/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/vm_memory/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/vm_memory/Cargo.toml
 @@ -14,7 +14,7 @@ anyhow = { workspace = true }
  cfg-if = { workspace = true }
  cros_async = { workspace = true }
@@ -89,3 +92,16 @@
  base = { workspace = true }
  bitflags = "2.2.1"
  remain = { workspace = true }
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/gpu_display/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/gpu_display/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/gpu_display/Cargo.toml
+@@ -35,7 +35,7 @@ rutabaga_gfx = { workspace = true }
+ cc = "1.0.25"
+ pkg-config = "0.3.31"
+ cfg-if = { workspace = true }
+-which = "4"
++which = "8"
+ 
+ [[example]]
+ name = "simple"
diff -Nru 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-trim-workspace.patch
 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-trim-workspace.patch
--- 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-trim-workspace.patch
    2026-11-17 09:52:10.000000000 +0000
+++ 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/debian-trim-workspace.patch
    2026-12-01 11:20:36.000000000 +0000
@@ -1,22 +1,22 @@
 From: Yunseong Kim <[email protected]>
 Subject: Trim the cargo workspace to what the Debian build uses
 Forwarded: not-needed
-Last-Update: 2026-11-17
+Last-Update: 2026-12-01
 
 Cargo resolves the lockfile over every workspace member and every optional
 and target-specific dependency, whatever features are selected. crosvm's
-workspace reaches Windows, Android, GPU, fuzzing and tooling crates that are
+workspace reaches Windows, Android, fuzzing and tooling crates that are
 not in Debian and are not needed for the Linux/KVM build with
---no-default-features --features qcow,balloon,net,usb,audio.
+--no-default-features --features 
qcow,balloon,net,usb,audio,gpu,virgl_renderer,vulkano,x.
 
 This removes those dependency edges (and the feature entries naming them)
 and the workspace members that nothing in that build depends on.
 Generated by debian/trim-workspace.py; see debian/README.source.
 
-diff --git a/Cargo.toml b/Cargo.toml
-index 0c0fb0b..aa14a49 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/Cargo.toml
 @@ -46,11 +46,8 @@ members = [
      "acpi_tables",
      "android_audio",
@@ -29,7 +29,7 @@
      "bit_field",
      "proc_init",
      "common/audio_streams",
-@@ -61,54 +58,38 @@ members = [
+@@ -61,54 +58,39 @@ members = [
      "cros_fdt",
      "cros_tracing",
      "crosvm_cli",
@@ -40,7 +40,7 @@
      "ext2",
      "fuse",
 -    "fuzz",
--    "gpu_display",
+     "gpu_display",
      "hypervisor",
 -    "hypervisor/hypervisor_test_macro",
      "io_uring",
@@ -84,7 +84,7 @@
      "x86_64",
  ]
  
-@@ -233,7 +214,7 @@ windows = { version = "=0.61.1" }
+@@ -233,7 +215,7 @@ windows = { version = "0.61.1" }
  
  [features]
  ## Default features of crosvm. This selection is somewhat arbitrary for 
historical reasons.
@@ -93,7 +93,7 @@
  
  ## Enables packaging compatibility with sandboxed AppImage
  appimage = ["jail/appimage"]
-@@ -253,7 +234,7 @@ balloon = ["devices/balloon", "vm_control/balloon"]
+@@ -253,7 +235,7 @@ balloon = ["devices/balloon", "vm_contro
  ## Enables the composite-disk format, which adds protobufs as a dependency of 
the build. This format
  ## is intended to speed up crosvm's usage in CI environments that might 
otherwise have to
  ## concatenate large file system images into a single disk image.
@@ -102,7 +102,7 @@
  
  ## Enables support for using a seekable zstd archive of a raw disk image as a 
read-only disk.
  ## See [Format 
Specs](https://github.com/facebook/zstd/tree/v1.5.6/contrib/seekable_format) for
-@@ -270,8 +251,6 @@ fs_runtime_ugid_map = 
["device_virtio_fs/fs_runtime_ugid_map"]
+@@ -270,8 +252,6 @@ fs_runtime_ugid_map = ["device_virtio_fs
  gdb = [
      "aarch64/gdb",
      "arch/gdb",
@@ -111,7 +111,7 @@
      "riscv64/gdb",
      "vm_control/gdb",
      "x86_64/gdb",
-@@ -290,23 +269,22 @@ pvclock = ["devices/pvclock"]
+@@ -290,23 +270,22 @@ pvclock = ["devices/pvclock"]
  qcow = ["disk/qcow"]
  
  ## Enables the registered_events mechanisms.
@@ -138,12 +138,12 @@
  
  ## Enables the virtio-wl device.
  virtio_wl = ["devices/virtio_wl"]
-@@ -322,23 +300,23 @@ x = ["devices/x"]
+@@ -322,19 +301,19 @@ x = ["devices/x"]
  
  ## Enables basic virtio-gpu support. This includes basic display and input 
features, but lacks 3D
  ## acceleration in the absence of other crosvm features.
 -gpu = ["devices/gpu", "gpu_display", "rutabaga_gfx", "vm_control/gpu"]
-+gpu = ["devices/gpu", "vm_control/gpu"]
++gpu = ["devices/gpu", "rutabaga_gfx", "vm_control/gpu"]
  
  ## Enables 3D acceleration for the guest via the gfxstream protocol over 
virtio-gpu.
 -gfxstream = ["rutabaga_gfx/gfxstream"]
@@ -162,12 +162,7 @@
  
  # Enables the highly experimental vulkan graphics buffer allocator.
  # see rutabaga_gfx/Cargo.toml for instructions on building with enabled.
--vulkano = ["rutabaga_gfx/vulkano"]
-+vulkano = []
- 
- # Enables the GPU display backend for Android. The backend uses Android 
surface as the backing
- # store.
-@@ -359,7 +337,7 @@ video-decoder = ["devices/video-decoder"]
+@@ -359,7 +338,7 @@ video-decoder = ["devices/video-decoder"
  video-encoder = ["devices/video-encoder"]
  
  ## Enables the ffmpeg backend of video devices.
@@ -176,7 +171,7 @@
  
  # Enables the VAAPI backend of video devices.
  vaapi = ["devices/vaapi"]
-@@ -444,15 +422,15 @@ audio_aaudio = ["device_virtio_snd/audio_aaudio"]
+@@ -444,15 +423,15 @@ audio_aaudio = ["device_virtio_snd/audio
  
  ## Stub implementation of Android AAudio NDK library. This is only used for 
building and testing the
  ## Android audio on a non-Android target
@@ -195,7 +190,7 @@
  
  ## Builds the VDA video backend with a set of no-ops stubs instead of linking 
with libvda, which is
  ## only available on ChromeOS.
-@@ -463,20 +441,19 @@ libvda-stub = ["devices/libvda-stub"]
+@@ -463,20 +442,19 @@ libvda-stub = ["devices/libvda-stub"]
  power-monitor-powerd = ["arch/power-monitor-powerd"]
  
  ## Enables a virtualized TPM device that uses the `org.chromium.Vtpm` dbus 
service.
@@ -218,7 +213,7 @@
  
  #! ### Platform Feature Sets
  #!
-@@ -507,7 +484,6 @@ all-default = [
+@@ -507,7 +485,6 @@ all-default = [
      "pvclock",
      "registered_events",
      "slirp",
@@ -226,7 +221,7 @@
      "tokio",
      "trace_marker",
      "vaapi",
-@@ -518,7 +494,7 @@ all-default = [
+@@ -518,7 +495,7 @@ all-default = [
      "vtpm",
      "wl-dmabuf",
      "x",
@@ -235,7 +230,7 @@
  ]
  
  ## All features that are compiled and tested for aarch64
-@@ -544,9 +520,7 @@ all-x86_64 = [
+@@ -544,9 +521,7 @@ all-x86_64 = [
      "all-default",
      "android_display",
      "android_display_stub",
@@ -245,7 +240,7 @@
  ]
  
  ## All features that are compiled and tested for mingw64
-@@ -554,7 +528,6 @@ all-mingw64 = [
+@@ -554,7 +529,6 @@ all-mingw64 = [
      "android-sparse",
      "audio",
      "balloon",
@@ -253,7 +248,7 @@
      "gpu",
      "haxm",
      "net",
-@@ -577,8 +550,6 @@ all-android = [
+@@ -577,8 +551,6 @@ all-android = [
      "composite-disk",
      "fs_runtime_ugid_map",
      "gdb",
@@ -262,7 +257,7 @@
      "geniezone",
      "gunyah",
      "halla",
-@@ -597,7 +568,6 @@ aarch64_sys_reg = { workspace = true }
+@@ -597,7 +569,6 @@ aarch64_sys_reg = { workspace = true }
  base = { workspace = true }
  proc_init = { workspace = true }
  cfg-if = { workspace = true }
@@ -270,7 +265,7 @@
  cros_async = { workspace = true }
  cros_tracing = { workspace = true }
  crosvm_cli = { workspace = true }
-@@ -608,44 +578,31 @@ device_virtio_net = { workspace = true, optional = true }
+@@ -608,44 +579,32 @@ device_virtio_net = { workspace = true,
  device_virtio_rng = { workspace = true }
  device_virtio_scsi = { workspace = true }
  device_virtio_snd = { workspace = true, optional = true }
@@ -280,7 +275,7 @@
 -document-features = { version = "0.2", optional = true }
 -gdbstub = { workspace = true, optional = true }
 -gdbstub_arch = { workspace = true, optional = true }
--rutabaga_gfx = { workspace = true, optional = true }
+ rutabaga_gfx = { workspace = true, optional = true }
  hypervisor = { workspace = true }
  jail = { workspace = true }
  kernel_cmdline = { workspace = true }
@@ -315,7 +310,7 @@
  
  [target.'cfg(target_arch = "riscv64")'.dependencies]
  riscv64 = { workspace = true }
-@@ -663,19 +620,9 @@ device_virtio_pmem = { workspace = true }
+@@ -663,19 +622,9 @@ device_virtio_pmem = { workspace = true
  minijail = "*" # provided by ebuild
  p9 = "0.3.1"
  vhost = { workspace = true, optional = true }
@@ -335,10 +330,10 @@
  
  [dev-dependencies]
  rand = { workspace = true }
-diff --git a/aarch64/Cargo.toml b/aarch64/Cargo.toml
-index 2b82225..bf9ef6b 100644
---- a/aarch64/Cargo.toml
-+++ b/aarch64/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/aarch64/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/aarch64/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/aarch64/Cargo.toml
 @@ -6,8 +6,7 @@ edition = "2021"
  license = "BSD-3-Clause"
  
@@ -366,10 +361,10 @@
  sync = { workspace = true }
  base = { workspace = true }
  thiserror = { workspace = true }
-diff --git a/arch/Cargo.toml b/arch/Cargo.toml
-index 28eff64..e473409 100644
---- a/arch/Cargo.toml
-+++ b/arch/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/arch/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/arch/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/arch/Cargo.toml
 @@ -7,10 +7,9 @@ license = "BSD-3-Clause"
  
  [features]
@@ -409,10 +404,10 @@
  [dev-dependencies]
  serde_json = { workspace = true }
  tempfile = "3"
-diff --git a/base/Cargo.toml b/base/Cargo.toml
-index ad90342..0bd90eb 100644
---- a/base/Cargo.toml
-+++ b/base/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/base/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/base/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/base/Cargo.toml
 @@ -9,7 +9,7 @@ license = "BSD-3-Clause"
  workspace = true
  
@@ -422,7 +417,7 @@
  seccomp_trace = []
  
  [dependencies]
-@@ -23,7 +23,6 @@ env_filter = { version = "1.0.0", default-features = false }
+@@ -23,7 +23,6 @@ env_filter = { version = "1.0.0", defaul
  env_logger = { version = "0.11.0", default-features = false }
  libc = { workspace = true }
  log = "0.4"
@@ -430,7 +425,7 @@
  remain = { workspace = true }
  serde = { workspace = true, features = [ "derive" ] }
  serde_json = { workspace = true }
-@@ -36,12 +35,3 @@ zerocopy = { version = "0.8.13", features = ["derive"] }
+@@ -36,12 +35,3 @@ zerocopy = { version = "0.8.13", feature
  protos = { workspace = true, features = ["composite-disk"] }
  tempfile = "3"
  
@@ -443,10 +438,10 @@
 -
 -[target.'cfg(target_os = "android")'.dependencies]
 -android_log-sys = "0.3.1"
-diff --git a/cros_async/Cargo.toml b/cros_async/Cargo.toml
-index 7cb61b9..31d0f66 100644
---- a/cros_async/Cargo.toml
-+++ b/cros_async/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/cros_async/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/cros_async/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/cros_async/Cargo.toml
 @@ -9,7 +9,6 @@ license = "BSD-3-Clause"
  workspace = true
  
@@ -472,10 +467,10 @@
  [dependencies.futures]
  version = "0.3"
  default-features = false
-diff --git a/cros_tracing/Cargo.toml b/cros_tracing/Cargo.toml
-index 0658e1a..197b21b 100644
---- a/cros_tracing/Cargo.toml
-+++ b/cros_tracing/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/cros_tracing/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/cros_tracing/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/cros_tracing/Cargo.toml
 @@ -15,13 +15,11 @@ required-features = ["trace_marker"]
  
  [features]
@@ -490,10 +485,10 @@
  sync = { workspace = true }
  
  [dev-dependencies]
-diff --git a/crosvm_cli/Cargo.toml b/crosvm_cli/Cargo.toml
-index 649383b..3de3974 100644
---- a/crosvm_cli/Cargo.toml
-+++ b/crosvm_cli/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/crosvm_cli/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/crosvm_cli/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/crosvm_cli/Cargo.toml
 @@ -11,6 +11,3 @@ license = "BSD-3-Clause"
  anyhow = { workspace = true }
  cfg-if = { workspace = true }
@@ -501,10 +496,10 @@
 -[target.'cfg(windows)'.dependencies]
 -win_util = { path = "../win_util" }
 -winapi = "0.3"
-diff --git a/devices/Cargo.toml b/devices/Cargo.toml
-index b8fe2da..ece30e3 100644
---- a/devices/Cargo.toml
-+++ b/devices/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/devices/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/devices/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/devices/Cargo.toml
 @@ -9,30 +9,29 @@ license = "BSD-3-Clause"
  workspace = true
  
@@ -517,8 +512,7 @@
 -audio_cras = ["libcras"]
 +audio_cras = []
  balloon = []
--gpu = ["gpu_display", "rutabaga_gfx"]
-+gpu = []
+ gpu = ["gpu_display", "rutabaga_gfx"]
  gunyah = []
 -libvda-stub = ["libvda/libvda-stub"]
 +libvda-stub = []
@@ -534,11 +528,9 @@
  video-decoder = []
  video-encoder = []
 -gbm = ["rutabaga_gfx/gbm"]
--x = ["gpu_display/x"]
--virgl_renderer = ["gpu", "rutabaga_gfx/virgl_renderer"]
 +gbm = []
-+x = []
-+virgl_renderer = ["gpu"]
+ x = ["gpu_display/x"]
+ virgl_renderer = ["gpu", "rutabaga_gfx/virgl_renderer"]
  registered_events = []
  stats = []
  seccomp_trace = []
@@ -546,7 +538,7 @@
  whpx = []
  pci-hotplug = []
  noncoherent-dma = []
-@@ -52,20 +51,14 @@ base = { workspace = true }
+@@ -52,20 +51,16 @@ base = { workspace = true }
  bit_field = { workspace = true }
  cfg-if = { workspace = true }
  chrono = { version = "0.4.34", features = [ "serde", "now" ], 
default-features = false }
@@ -558,8 +550,8 @@
  disk = { workspace = true }
  enumn = { workspace = true }
 -ffmpeg = { workspace = true, optional = true }
--gpu_display = { workspace = true, optional = true }
--rutabaga_gfx = { workspace = true, optional = true }
+ gpu_display = { workspace = true, optional = true }
+ rutabaga_gfx = { workspace = true, optional = true }
  hypervisor = { workspace = true }
  kvm_sys = { workspace = true }
  libc = { workspace = true }
@@ -567,7 +559,7 @@
  linux_input_sys = { workspace = true }
  metrics = { workspace = true }
  net_util = { workspace = true }
-@@ -84,11 +77,9 @@ sync = { workspace = true }
+@@ -84,11 +79,9 @@ sync = { workspace = true }
  tempfile = "3"
  thiserror = { workspace = true }
  cros_tracing = { workspace = true }
@@ -579,7 +571,7 @@
  vm_control = { workspace = true }
  vm_memory = { workspace = true }
  zerocopy = { version = "0.8.13", features = ["derive"] }
-@@ -99,7 +90,6 @@ serde_bytes = "0.11.19"
+@@ -99,7 +92,6 @@ serde_bytes = "0.11.19"
  android_audio = { workspace = true }
  fuse = { workspace = true }
  jail = { path = "../jail" }
@@ -587,7 +579,7 @@
  minijail = "*"
  net_sys = { workspace = true }
  usb_util = { workspace = true }
-@@ -109,13 +99,6 @@ vhost = { workspace = true }
+@@ -109,13 +101,6 @@ vhost = { workspace = true }
  [target.'cfg(target_arch = "aarch64")'.dependencies]
  aarch64_sys_reg = { workspace = true }
  
@@ -601,10 +593,10 @@
  [dependencies.futures]
  version = "0.3"
  features = ["async-await", "std"]
-diff --git a/devices/device_virtio_block/Cargo.toml 
b/devices/device_virtio_block/Cargo.toml
-index 55364c3..8a19078 100644
---- a/devices/device_virtio_block/Cargo.toml
-+++ b/devices/device_virtio_block/Cargo.toml
+Index: 
crosvm-0.1.0~git20261117.a116b6ccd+ds/devices/device_virtio_block/Cargo.toml
+===================================================================
+--- 
crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/devices/device_virtio_block/Cargo.toml
++++ 
crosvm-0.1.0~git20261117.a116b6ccd+ds/devices/device_virtio_block/Cargo.toml
 @@ -40,7 +40,3 @@ tempfile = "3"
  jail = { workspace = true }
  minijail = "*"
@@ -613,10 +605,10 @@
 -crosvm_cli = { workspace = true }
 -proc_init = { workspace = true }
 -tube_transporter = { workspace = true }
-diff --git a/devices/device_virtio_fs/Cargo.toml 
b/devices/device_virtio_fs/Cargo.toml
-index 0ecb63b..49de169 100644
---- a/devices/device_virtio_fs/Cargo.toml
-+++ b/devices/device_virtio_fs/Cargo.toml
+Index: 
crosvm-0.1.0~git20261117.a116b6ccd+ds/devices/device_virtio_fs/Cargo.toml
+===================================================================
+--- 
crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/devices/device_virtio_fs/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/devices/device_virtio_fs/Cargo.toml
 @@ -6,7 +6,7 @@ edition = "2021"
  license = "BSD-3-Clause"
  
@@ -648,10 +640,10 @@
  thiserror = { workspace = true }
  virtio_sys = { workspace = true }
  vm_control = { workspace = true }
-diff --git a/devices/device_virtio_net/Cargo.toml 
b/devices/device_virtio_net/Cargo.toml
-index 1e47e7c..6704609 100644
---- a/devices/device_virtio_net/Cargo.toml
-+++ b/devices/device_virtio_net/Cargo.toml
+Index: 
crosvm-0.1.0~git20261117.a116b6ccd+ds/devices/device_virtio_net/Cargo.toml
+===================================================================
+--- 
crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/devices/device_virtio_net/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/devices/device_virtio_net/Cargo.toml
 @@ -52,6 +52,3 @@ minijail = "*"
  net_sys = { workspace = true }
  vhost = { workspace = true }
@@ -659,10 +651,10 @@
 -[target.'cfg(windows)'.dependencies]
 -proc_init = { workspace = true }
 -tube_transporter = { workspace = true }
-diff --git a/devices/device_virtio_snd/Cargo.toml 
b/devices/device_virtio_snd/Cargo.toml
-index f1b4502..9958ae2 100644
---- a/devices/device_virtio_snd/Cargo.toml
-+++ b/devices/device_virtio_snd/Cargo.toml
+Index: 
crosvm-0.1.0~git20261117.a116b6ccd+ds/devices/device_virtio_snd/Cargo.toml
+===================================================================
+--- 
crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/devices/device_virtio_snd/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/devices/device_virtio_snd/Cargo.toml
 @@ -6,12 +6,11 @@ license = "BSD-3-Clause"
  edition = "2021"
  
@@ -686,7 +678,7 @@
  remain = { workspace = true }
  serde = { workspace = true, features = [ "derive", "rc" ] }
  serde_bytes = "0.11"
-@@ -44,8 +42,3 @@ zerocopy = { version = "0.8.13", features = ["derive"] }
+@@ -44,8 +42,3 @@ zerocopy = { version = "0.8.13", feature
  jail = { workspace = true }
  minijail = "*"
  
@@ -695,10 +687,10 @@
 -proc_init = { workspace = true }
 -tube_transporter = { workspace = true }
 -win_audio = { workspace = true }
-diff --git a/disk/Cargo.toml b/disk/Cargo.toml
-index 9ba1f39..a936ef9 100644
---- a/disk/Cargo.toml
-+++ b/disk/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/disk/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/disk/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/disk/Cargo.toml
 @@ -10,31 +10,23 @@ path = "src/disk.rs"
  
  [features]
@@ -733,10 +725,10 @@
  
  [dependencies.futures]
  version = "0.3"
-diff --git a/hypervisor/Cargo.toml b/hypervisor/Cargo.toml
-index 835ae3b..b90dfe6 100644
---- a/hypervisor/Cargo.toml
-+++ b/hypervisor/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/hypervisor/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/hypervisor/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/hypervisor/Cargo.toml
 @@ -42,17 +42,5 @@ aarch64_sys_reg = { workspace = true }
  [target.'cfg(target_arch = "x86_64")'.dev-dependencies]
  hypervisor_test_macro = { workspace = true }
@@ -755,10 +747,10 @@
 -
  [target.'cfg(windows)'.dev-dependencies]
  tempfile = "3"
-diff --git a/metrics/Cargo.toml b/metrics/Cargo.toml
-index 8ae2ea8..8749a86 100644
---- a/metrics/Cargo.toml
-+++ b/metrics/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/metrics/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/metrics/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/metrics/Cargo.toml
 @@ -17,6 +17,3 @@ sync = { workspace = true }
  metrics_events = { workspace = true }
  metrics_product = { path = "../vendor/generic/metrics", package = 
"metrics_generic" }
@@ -766,20 +758,20 @@
 -[target.'cfg(windows)'.dependencies]
 -chrono = { version = "0.4.34", default-features = false, features = ["now"] }
 -winapi = { version = "0.3" }
-diff --git a/metrics_events/Cargo.toml b/metrics_events/Cargo.toml
-index c1877c4..d046560 100644
---- a/metrics_events/Cargo.toml
-+++ b/metrics_events/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/metrics_events/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/metrics_events/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/metrics_events/Cargo.toml
 @@ -10,5 +10,3 @@ cfg-if = { workspace = true }
  serde = { workspace = true, features = ["derive"] }
  metrics_events_product = { path = "../vendor/generic/metrics_events", package 
= "metrics_events_generic" }
  
 -[target.'cfg(windows)'.dependencies]
 -win_util = { path = "../win_util" }
-diff --git a/net_util/Cargo.toml b/net_util/Cargo.toml
-index 88d9398..047b1ad 100644
---- a/net_util/Cargo.toml
-+++ b/net_util/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/net_util/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/net_util/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/net_util/Cargo.toml
 @@ -8,7 +8,7 @@ build = 'build.rs'
  
  [features]
@@ -797,7 +789,7 @@
  remain = { workspace = true }
  serde = { workspace = true, features = [ "derive" ] }
  smallvec = "1"
-@@ -28,11 +27,6 @@ zerocopy = { version = "0.8.13", features = ["derive"] }
+@@ -28,11 +27,6 @@ zerocopy = { version = "0.8.13", feature
  [target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
  net_sys = { workspace = true }
  
@@ -809,10 +801,10 @@
  [build-dependencies]
  anyhow = { workspace = true }
  prebuilts = { workspace = true }
-diff --git a/power_monitor/Cargo.toml b/power_monitor/Cargo.toml
-index f7f6e95..6fd3202 100644
---- a/power_monitor/Cargo.toml
-+++ b/power_monitor/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/power_monitor/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/power_monitor/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/power_monitor/Cargo.toml
 @@ -6,14 +6,11 @@ edition = "2021"
  license = "BSD-3-Clause"
  
@@ -829,10 +821,10 @@
  thiserror = { workspace = true }
  
  [build-dependencies]
-diff --git a/proc_init/Cargo.toml b/proc_init/Cargo.toml
-index 37526ab..88d9695 100644
---- a/proc_init/Cargo.toml
-+++ b/proc_init/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/proc_init/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/proc_init/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/proc_init/Cargo.toml
 @@ -6,13 +6,12 @@ edition = "2021"
  license = "BSD-3-Clause"
  
@@ -848,10 +840,10 @@
  serde = { workspace = true, features = ["derive"] }
  metrics = { workspace = true }
  proc_init_product = { path = "../vendor/generic/proc_init/" }
-diff --git a/riscv64/Cargo.toml b/riscv64/Cargo.toml
-index 19e4694..998d5b9 100644
---- a/riscv64/Cargo.toml
-+++ b/riscv64/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/riscv64/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/riscv64/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/riscv64/Cargo.toml
 @@ -6,21 +6,17 @@ edition = "2021"
  license = "BSD-3-Clause"
  
@@ -875,10 +867,10 @@
  sync = { workspace = true }
  thiserror = { workspace = true }
  base = { workspace = true }
-diff --git a/swap/Cargo.toml b/swap/Cargo.toml
-index b7b09b3..90ae320 100644
---- a/swap/Cargo.toml
-+++ b/swap/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/swap/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/swap/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/swap/Cargo.toml
 @@ -15,7 +15,7 @@ harness = false
  
  [features]
@@ -899,10 +891,10 @@
  [dev-dependencies]
  libtest-mimic = "0.6"
  tempfile = "3"
-diff --git a/third_party/vmm_vhost/Cargo.toml 
b/third_party/vmm_vhost/Cargo.toml
-index b90237e..28ba9df 100644
---- a/third_party/vmm_vhost/Cargo.toml
-+++ b/third_party/vmm_vhost/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/third_party/vmm_vhost/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/third_party/vmm_vhost/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/third_party/vmm_vhost/Cargo.toml
 @@ -25,9 +25,5 @@ remain = { workspace = true }
  thiserror = { workspace = true }
  zerocopy = { version = "0.8.13", features = ["derive"] }
@@ -913,10 +905,10 @@
 -
  [dev-dependencies]
  tempfile = "3"
-diff --git a/vendor/generic/proc_init/Cargo.toml 
b/vendor/generic/proc_init/Cargo.toml
-index 7457897..ef48ef8 100644
---- a/vendor/generic/proc_init/Cargo.toml
-+++ b/vendor/generic/proc_init/Cargo.toml
+Index: 
crosvm-0.1.0~git20261117.a116b6ccd+ds/vendor/generic/proc_init/Cargo.toml
+===================================================================
+--- 
crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/vendor/generic/proc_init/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/vendor/generic/proc_init/Cargo.toml
 @@ -7,9 +7,8 @@ license = "BSD-3-Clause"
  
  [features]
@@ -928,25 +920,24 @@
  anyhow = { workspace = true }
 -crash_report = { workspace = true, optional = true }
  serde = { workspace = true, features = ["derive"] }
-diff --git a/vm_control/Cargo.toml b/vm_control/Cargo.toml
-index 5eafc91..8a1e6c7 100644
---- a/vm_control/Cargo.toml
-+++ b/vm_control/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/vm_control/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/vm_control/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/vm_control/Cargo.toml
 @@ -8,10 +8,10 @@ license = "BSD-3-Clause"
  [features]
  audio = []
  balloon = []
 -gdb = ["gdbstub", "gdbstub_arch"]
--gpu = ["rutabaga_gfx"]
 +gdb = []
-+gpu = []
+ gpu = ["rutabaga_gfx"]
  pci-hotplug = []
 -registered_events = ["balloon", "protos/registered_events"]
 +registered_events = ["balloon"]
  swap = ["swap/enable"]
  
  [dependencies]
-@@ -19,16 +19,12 @@ anyhow = { workspace = true }
+@@ -19,13 +19,10 @@ anyhow = { workspace = true }
  balloon_control = { workspace = true }
  base = { workspace = true }
  cfg-if = { workspace = true }
@@ -959,20 +950,17 @@
 -protos = { workspace = true, optional = true }
  remain = { workspace = true }
  resources = { workspace = true }
--rutabaga_gfx = { workspace = true, optional = true }
- serde = { workspace = true, features = ["derive"] }
- serde_json = { workspace = true }
- serde_keyvalue = { workspace = true, features = ["argh_derive"] }
-@@ -40,5 +36,3 @@ thiserror = { workspace = true }
+ rutabaga_gfx = { workspace = true, optional = true }
+@@ -40,5 +37,3 @@ thiserror = { workspace = true }
  vm_control_product = { path = "../vendor/generic/vm_control", package = 
"vm_control_product" }
  vm_memory = { workspace = true }
  
 -[target.'cfg(windows)'.dependencies]
 -winapi = "0.3"
-diff --git a/x86_64/Cargo.toml b/x86_64/Cargo.toml
-index 7e1424c..088daff 100644
---- a/x86_64/Cargo.toml
-+++ b/x86_64/Cargo.toml
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/x86_64/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/x86_64/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/x86_64/Cargo.toml
 @@ -6,9 +6,8 @@ edition = "2021"
  license = "BSD-3-Clause"
  
@@ -1000,3 +988,42 @@
  vm_control = { workspace = true }
  vm_memory = { workspace = true }
  zerocopy = { version = "0.8.13", features = ["derive"] }
+Index: crosvm-0.1.0~git20261117.a116b6ccd+ds/gpu_display/Cargo.toml
+===================================================================
+--- crosvm-0.1.0~git20261117.a116b6ccd+ds.orig/gpu_display/Cargo.toml
++++ crosvm-0.1.0~git20261117.a116b6ccd+ds/gpu_display/Cargo.toml
+@@ -8,7 +8,7 @@ license = "BSD-3-Clause"
+ [features]
+ x = []
+ kiwi = []
+-vulkan_display = [ "vulkano", "ash", "rand", "euclid", "smallvec"]
++vulkan_display = []
+ # Enables the GPU display backend for Android. The backend uses Android 
surface as the backing
+ # store.
+ android_display = []
+@@ -28,25 +28,9 @@ cfg-if = { workspace = true }
+ serde = { workspace = true, features = [ "derive" ] }
+ vm_control = { workspace = true }
+ zerocopy = { version = "0.8.13", features = ["derive"] }
+-vulkano = { version = "0.31.1", optional = true }
+-ash = { version = "0.37.0", optional = true }
+-rand = { workspace = true, optional = true }
+-
+-euclid = { version = "0.22", optional = true }
+-smallvec = { version = "1", optional = true }
+ sync = { workspace = true }
+ rutabaga_gfx = { workspace = true }
+ 
+-[target.'cfg(windows)'.dependencies]
+-cros_tracing = { workspace = true }
+-metrics = { workspace = true }
+-num-traits = "0.2"
+-winapi = "0.3"
+-win_util = { path = "../win_util" }
+-smallvec = "1"
+-sync = { workspace = true }
+-euclid = "0.22"
+-
+ [build-dependencies]
+ cc = "1.0.25"
+ pkg-config = "0.3.31"
diff -Nru crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/series 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/series
--- crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/series 2026-11-17 
09:52:10.000000000 +0000
+++ crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/patches/series 2026-12-01 
11:20:36.000000000 +0000
@@ -2,3 +2,4 @@
 debian-relax-dependencies.patch
 debian-use-system-minijail.patch
 reproducible-seccomp-policy-order.patch
+debian-gpu-display-built-using.patch
diff -Nru crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/README.source 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/README.source
--- crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/README.source  2026-11-17 
09:52:10.000000000 +0000
+++ crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/README.source  2026-12-01 
11:20:36.000000000 +0000
@@ -54,17 +54,20 @@
 -----------------
 
 The package builds with the Debian cargo wrapper against the system crate
-registry. Three patches make the workspace resolvable there:
+registry. Four Debian patches make the workspace resolvable and installable
+there:
 
  - debian-trim-workspace.patch removes the dependency edges, feature entries
    and workspace members that the Debian feature set
-   (--no-default-features --features qcow,balloon,net,usb,audio) does not
+   (--no-default-features --features
+   qcow,balloon,net,usb,audio,gpu,virgl_renderer,vulkano,x) does not
    reach. Cargo resolves every optional and target-specific dependency of
    every member regardless of features, so without this it would need the
-   Windows, Android, GPU and fuzzing crates. Regenerate it on a clean,
-   unpatched tree (needs crates.io access and python3-tomlkit):
+   Windows, Android, extra GPU backend (gfxstream/gbm/vulkan_display) and
+   fuzzing crates. Regenerate it on a clean, unpatched tree (needs crates.io
+   access and python3-tomlkit):
 
-     debian/trim-workspace.py qcow,balloon,net,usb,audio
+     debian/trim-workspace.py 
qcow,balloon,net,usb,audio,gpu,virgl_renderer,vulkano,x
      git diff > debian/patches/debian-trim-workspace.patch  # keep the header
 
  - debian-relax-dependencies.patch moves requirements to the versions in
@@ -73,6 +76,10 @@
  - debian-use-system-minijail.patch drops upstream's [patch.crates-io]
    override that points the minijail crate at the submodule.
 
+ - debian-gpu-display-built-using.patch emits dh-cargo:deb-built-using
+   metadata for the in-tree libdisplay_wl.a static archive compiled by
+   gpu_display/build.rs.
+
 Regenerating debian-trim-workspace.patch needs the third_party/minijail
 submodule checked out, because cargo tree resolves upstream's override; the
 tool leaves the minijail crates themselves alone.
diff -Nru crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/rules 
crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/rules
--- crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/rules  2026-11-17 
09:52:10.000000000 +0000
+++ crosvm-0.1.0~git20261117.a116b6ccd+ds/debian/rules  2026-12-01 
11:20:36.000000000 +0000
@@ -16,13 +16,12 @@
 export CARGO_HOME = $(CURDIR)/debian/cargo_home
 export DEB_CARGO_CRATE = crosvm_$(DEB_VERSION_UPSTREAM)
 
-# Upstream's default feature set includes gpu and slirp:
-#   gpu   pulls rutabaga_gfx and magma-gpu, which are not in Debian.
-#   slirp is a Windows-only network backend upstream.
-# Everything needed to run a Linux guest is in the set below. If this
-# changes, regenerate debian/patches/debian-trim-workspace.patch
+# Upstream's default feature set includes slirp (Windows-only network backend).
+# Everything needed to run a Linux guest with virtio-gpu (Wayland/X11 display,
+# virglrenderer 3D acceleration, and vulkano gralloc) is in the set below.
+# If this changes, regenerate debian/patches/debian-trim-workspace.patch
 # (see debian/README.source).
-CROSVM_FEATURES = qcow,balloon,net,usb,audio
+CROSVM_FEATURES = qcow,balloon,net,usb,audio,gpu,virgl_renderer,vulkano,x
 
 # dh_auto_install is overridden and installs explicitly, so the single-binary
 # add-on (implicit before compat 15) is not wanted.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to