diff options
| author | 2026-09-03 17:24:11 -0700 | |
|---|---|---|
| committer | 2026-09-11 09:08:10 -0700 | |
| commit | 0d6e35f6ab7d6c8b9afa6882447793aad58701e4 (patch) | |
| tree | ae7c4619d1bd1e856ad40efda0fd848009df1279 /scripts/Makefile.thinlto | |
| parent | KVM: selftests: Adapt to the updated VMPTRST behavior when eVMCS is used (diff) | |
KVM: selftests: Check VMPTRLD with active eVMCS
Check that VMPTRLD when eVMCS is active results in #UD. This matches
genuine Hyper-V's behavior.
Use KVM_ASM_SAFE framework to handle #UD from VMPTRLD. Unfortunately, the
same trick cannot be applied to the existing #UD check on VMLAUNCH as
VMLAUNCH clobbers all registers which KVM_ASM_SAFE depends on. Keep
VMLAUNCH handling separately. Deliberately use a double-underscores
prefix instead of a "safe" postfix for the helper, to communicate that the
inner/outer helpers handle more than just exceptions, they also handle
VM-Fail conditions.
Assisted-by: Claude:claude-sonnet-4-6
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
[sean: use __ instead of _safe]
Link: https://patch.msgid.link/20260904002423.3154436-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
