linux/tools/testing/selftests/kvm
Paolo Bonzini 45981dedf5 KVM: VMX: pass correct DR6 for GD userspace exit
When KVM_EXIT_DEBUG is raised for the disabled-breakpoints case (DR7.GD),
DR6 was incorrectly copied from the value in the VM.  Instead,
DR6.BD should be set in order to catch this case.

On AMD this does not need any special code because the processor triggers
a #DB exception that is intercepted.  However, the testcase would fail
without the previous patch because both DR6.BS and DR6.BD would be set.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-05-08 07:44:31 -04:00
..
include KVM: selftests: Add KVM_SET_GUEST_DEBUG test 2020-05-07 06:13:42 -04:00
lib KVM: selftests: Add KVM_SET_GUEST_DEBUG test 2020-05-07 06:13:42 -04:00
s390x selftests: KVM: s390: check for registers to NOT change on reset 2020-03-16 17:59:09 +01:00
x86_64 KVM: VMX: pass correct DR6 for GD userspace exit 2020-05-08 07:44:31 -04:00
.gitignore SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
clear_dirty_log_test.c kvm: selftests: Support dirty log initial-all-set test 2020-03-16 17:57:41 +01:00
config selftests: kvm: Adding config fragments 2019-08-09 16:52:38 +02:00
demand_paging_test.c KVM: selftests: Rework timespec functions and usage 2020-03-18 14:08:56 +01:00
dirty_log_test.c selftests: kvm: Uses TEST_FAIL in tests/utilities 2020-03-16 17:59:11 +01:00
kvm_create_max_vcpus.c KVM: selftests: Convert some printf's to pr_info's 2020-03-16 17:57:07 +01:00
Makefile KVM: selftests: Add KVM_SET_GUEST_DEBUG test 2020-05-07 06:13:42 -04:00
steal_time.c KVM: selftests: Rework timespec functions and usage 2020-03-18 14:08:56 +01:00