diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2021-04-01 16:54:46 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-17 08:31:03 -0400 |
commit | fa18aca927578f4ae2a01fd588e791d4ea5fe085 (patch) | |
tree | d88139830be8b999968d73742132ea33f5c17d80 /arch/arm64/kvm/guest.c | |
parent | 7e582ccbbd737181a5f9a7e3b8f7523a62550796 (diff) | |
download | linux-stable-fa18aca927578f4ae2a01fd588e791d4ea5fe085.tar.gz linux-stable-fa18aca927578f4ae2a01fd588e791d4ea5fe085.tar.bz2 linux-stable-fa18aca927578f4ae2a01fd588e791d4ea5fe085.zip |
KVM: aarch64: implement KVM_CAP_SET_GUEST_DEBUG2
Move KVM_GUESTDBG_VALID_MASK to kvm_host.h
and use it to return the value of this capability.
Compile tested only.
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210401135451.1004564-5-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/arm64/kvm/guest.c')
-rw-r--r-- | arch/arm64/kvm/guest.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm64/kvm/guest.c b/arch/arm64/kvm/guest.c index 9bbd30e62799..6cb39ee74acd 100644 --- a/arch/arm64/kvm/guest.c +++ b/arch/arm64/kvm/guest.c @@ -888,11 +888,6 @@ int kvm_arch_vcpu_ioctl_translate(struct kvm_vcpu *vcpu, return -EINVAL; } -#define KVM_GUESTDBG_VALID_MASK (KVM_GUESTDBG_ENABLE | \ - KVM_GUESTDBG_USE_SW_BP | \ - KVM_GUESTDBG_USE_HW | \ - KVM_GUESTDBG_SINGLESTEP) - /** * kvm_arch_vcpu_ioctl_set_guest_debug - set up guest debugging * @kvm: pointer to the KVM struct |