mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
466deb7a78
Add a new identifier for a device, the "device id". This is a combination of the device UUID + driver UUID. Reason for not only using device UUID is that the spec calls out both must match: https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#external-memory-handle-types-compatibility We have also seen some less-ideal implementations of device UUID on Windows that return mostly zero with a few bits set, so adding the driver UUID should increase confidence. physical_device_idx is removed. BUG=b:244622199 TEST=presubmit & downstream Change-Id: I8174227e3d4bcadf778b7a73c9f84bb475169326 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3926105 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Idan Raiter <idanr@google.com> Reviewed-by: Dennis Kempin <denniskempin@google.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> |
||
---|---|---|
.. | ||
ffi | ||
src | ||
build.rs | ||
Cargo.toml |