crosvm/io_uring
Daniel Verkamp e8d03c74ac bindgen-common: use ChromeOS kernel 6.12 headers
Update the kernel version used to generate the bindings from Linux 6.6
to Linux 6.12, and remove the manual kvm_userspace_memory_region2
additions from kvm_sys/bindgen.sh.

The KVM_CAP_USER_CONFIGURE_NONCOHERENT_DMA capability index was changed
between ChromeOS v6.6 and v6.12, so a workaround to use the v6.6 value
is added; this maintains the existing behavior of querying cap index 236
on all kernels, which may return unexpected results on non-ChromeOS
kernels or ChromeOS v6.12 kernels.

BUG=b:388092267
TEST=tools/dev_container tools/presubmit

Change-Id: Icccc022005de37e12d552951eaadcf6c20ac914a
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6150076
Reviewed-by: Ryan Neph <ryanneph@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2025-01-09 14:41:33 -08:00
..
src bindgen-common: use ChromeOS kernel 6.12 headers 2025-01-09 14:41:33 -08:00
tests
bindgen.sh
Cargo.toml