diff options
| author | Michal Luczaj <[email protected]> | 2024-08-02 20:29:41 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2024-08-13 16:01:46 +0000 |
| commit | 238d3d63d1e27c8d9733b48f7b682fc6aba86672 (patch) | |
| tree | c55f97dbefa9ad9564d01abe278964ff89de13ea /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | KVM: x86: Make x2APIC ID 100% readonly (diff) | |
| download | kernel-238d3d63d1e27c8d9733b48f7b682fc6aba86672.tar.gz kernel-238d3d63d1e27c8d9733b48f7b682fc6aba86672.zip | |
KVM: selftests: Add a testcase to verify x2APIC is fully readonly
Add a test to verify that userspace can't change a vCPU's x2APIC ID by
abusing KVM_SET_LAPIC. KVM models the x2APIC ID (and x2APIC LDR) as
readonly, and silently ignores userspace attempts to change the x2APIC ID
for backwards compatibility.
Signed-off-by: Michal Luczaj <[email protected]>
[sean: write changelog, add to existing test]
Signed-off-by: Sean Christopherson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
