diff options
author | Mathias Krause <minipli@grsecurity.net> | 2024-06-14 23:28:59 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-06-18 19:12:08 +0300 |
commit | 438a496b9041402736e164c8ebf1368599903958 (patch) | |
tree | 2772956ef8d13aa998e11e3153f4937e0ba79ac8 /scripts/generate_rust_analyzer.py | |
parent | 4b451a57809cacec00978c36c97b1c9b53cde664 (diff) | |
download | linux-438a496b9041402736e164c8ebf1368599903958.tar.xz |
KVM: selftests: Test vCPU boot IDs above 2^32 and MAX_VCPU_ID
The KVM_SET_BOOT_CPU_ID ioctl missed to reject invalid vCPU IDs. Verify
this no longer works and gets rejected with an appropriate error code.
Signed-off-by: Mathias Krause <minipli@grsecurity.net>
Link: https://lore.kernel.org/r/20240614202859.3597745-6-minipli@grsecurity.net
[sean: add test for MAX_VCPU_ID+1, always do negative test]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions