crosvm/kvm_sys
Pierre-Clément Tosi 20eee9bace kvm_sys: Move KVM_PVIOMMU_SET_CONFIG to lib.rs
Replace the ioctl definition using a magic number with the appropriate
macro call. Note that this commit also limits the availability of the
constant to AArch64 Android, the only builds using it as per the cfg
attributes of KvmVfioPviommu::ioctl_kvm_pviommu_set_config().

TEST=m crosvm # in AOSP, then validated the constant using decompilation

Change-Id: I6099a69419c5c562b0c5ce5b27ac3f24b73c9244
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5750141
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Auto-Submit: Pierre-Clément Tosi <ptosi@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2024-07-30 18:17:34 +00:00
..
src kvm_sys: Move KVM_PVIOMMU_SET_CONFIG to lib.rs 2024-07-30 18:17:34 +00:00
tests base: define ioctls as consts rather than functions 2024-06-25 19:17:21 +00:00
bindgen.sh kvm_sys: Move KVM_PVIOMMU_SET_CONFIG to lib.rs 2024-07-30 18:17:34 +00:00
Cargo.toml Cargo.toml: avoid "*" versions for external crates 2024-05-22 01:01:42 +00:00