diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2024-04-24 20:39:59 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-04-24 22:09:36 +0300 |
commit | 160933e330f4c5a13931d725a4d952a4b9aefa71 (patch) | |
tree | 0cf6432f9b76a46fea7f4e8e8a7de54c29668ccd /scripts/gdb/linux/proc.py | |
parent | 6ddb4f372fc63210034b903d96ebbeb3c7195adb (diff) | |
download | linux-160933e330f4c5a13931d725a4d952a4b9aefa71.tar.xz |
KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF
Assert that accesses to a non-existent vgic-v2 CPU interface
consistently fail across the various KVM device attr ioctls. This also
serves as a regression test for a bug wherein KVM hits a NULL
dereference when the CPUID specified in the ioctl is invalid.
Note that there is no need to print the observed errno, as TEST_ASSERT()
will take care of it.
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240424173959.3776798-3-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions