mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
aed8fb2dad
When VIRTIO_GPU_BLOB_FLAG_CREATE_GUEST_HANDLE is not set, the check should not be applied. This is also more consistent with GpuCommand::ResourceAttachBacking. When VIRTIO_GPU_BLOB_FLAG_CREATE_GUEST_HANDLE is set, the check may not be correct because upstream kernel made the limit configurable recently https://patchwork.freedesktop.org/patch/438905/ It should be better to just remove the check and let the kernel does the validation. BUG=b:194314538 TEST=huge allocations Change-Id: I536f44b257a96f7a52a0bc88fc2b63e0e2a701f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3059400 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Dennis Kempin <denniskempin@google.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Chia-I Wu <olv@google.com> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |