]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: selftests: Verify guest debug DR7.GD checking during instruction emulation
authorHou Wenlong <houwenlong.hwl@antgroup.com>
Fri, 15 May 2026 22:26:37 +0000 (15:26 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 21 May 2026 21:40:25 +0000 (14:40 -0700)
commit063a22451fd9541b43fcb862a8ecdf104fa2ebe7
tree96bae1b01afd6cece0ebd8c0cbf108a8e90a3773
parent35c08038cbdc14d9d638c32d5663e043d607a314
KVM: selftests: Verify guest debug DR7.GD checking during instruction emulation

Similar to the global disable test case in x86's debug_regs test, use
'KVM_FEP' to trigger instruction emulation in order to verify the guest
debug DR7.GD checking during instruction emulation.

Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com>
Link: https://patch.msgid.link/20260515222638.1949982-10-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86/debug_regs.c