summaryrefslogtreecommitdiff
path: root/rust/helpers/signal.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-08-30 07:44:48 +0300
committerSean Christopherson <seanjc@google.com>2024-09-10 06:12:12 +0300
commitc32e028057f144f15c06e2f09dfec49b14311910 (patch)
tree3a5a7e727913d75309d52f4ce137d62f2bd7606f /rust/helpers/signal.c
parent9d15171f39f0996fcfaec1788d3522eb581af347 (diff)
downloadlinux-c32e028057f144f15c06e2f09dfec49b14311910.tar.xz
KVM: selftests: Verify single-stepping a fastpath VM-Exit exits to userspace
In x86's debug_regs test, change the RDMSR(MISC_ENABLES) in the single-step testcase to a WRMSR(TSC_DEADLINE) in order to verify that KVM honors KVM_GUESTDBG_SINGLESTEP when handling a fastpath VM-Exit. Note, the extra coverage is effectively Intel-only, as KVM only handles TSC_DEADLINE in the fastpath when the timer is emulated via the hypervisor timer, a.k.a. the VMX preemption timer. Link: https://lore.kernel.org/r/20240830044448.130449-1-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions