diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-11-17 00:23:49 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2022-11-16 16:57:59 -0800 |
| commit | 1cec8bbc1764964de24d19983fbf9fee6ce3c09d (patch) | |
| tree | 21c147f57f970c305433f33af1759946d34ac835 /tools/testing/selftests/kvm/lib/ucall_common.c | |
| parent | 7812d80c0f89c2b610558e09647736b6632beb08 (diff) | |
KVM: arm64: selftests: Disable single-step with correct KVM define
Disable single-step by setting debug.control to KVM_GUESTDBG_ENABLE,
not to SINGLE_STEP_DISABLE. The latter is an arbitrary test enum that
just happens to have the same value as KVM_GUESTDBG_ENABLE, and so
effectively disables single-step debug.
No functional change intended.
Cc: Reiji Watanabe <reijiw@google.com>
Fixes: b18e4d4aebdd ("KVM: arm64: selftests: Add a test case for KVM_GUESTDBG_SINGLESTEP")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221117002350.2178351-2-seanjc@google.com
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/ucall_common.c')
0 files changed, 0 insertions, 0 deletions
