diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-01-11 09:12:59 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-02-08 14:41:06 +0100 |
commit | 6bda055d625860736f7ea5b4eda816f276899d8b (patch) | |
tree | 6fd3bbf5bef8c4004be4806b569719383b7d6f04 /arch/arm64/include/uapi | |
parent | kvm: replace __KVM_HAVE_READONLY_MEM with Kconfig symbol (diff) | |
download | linux-6bda055d625860736f7ea5b4eda816f276899d8b.tar.xz linux-6bda055d625860736f7ea5b4eda816f276899d8b.zip |
KVM: define __KVM_HAVE_GUEST_DEBUG unconditionally
Since all architectures (for historical reasons) have to define
struct kvm_guest_debug_arch, and since userspace has to check
KVM_CHECK_EXTENSION(KVM_CAP_SET_GUEST_DEBUG) anyway, there is
no advantage in masking the capability #define itself. Remove
the #define __KVM_HAVE_GUEST_DEBUG from architecture-specific
headers.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/arm64/include/uapi')
-rw-r--r-- | arch/arm64/include/uapi/asm/kvm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/include/uapi/asm/kvm.h b/arch/arm64/include/uapi/asm/kvm.h index 9c1040dad4eb..964df31da975 100644 --- a/arch/arm64/include/uapi/asm/kvm.h +++ b/arch/arm64/include/uapi/asm/kvm.h @@ -37,7 +37,6 @@ #include <asm/ptrace.h> #include <asm/sve_context.h> -#define __KVM_HAVE_GUEST_DEBUG #define __KVM_HAVE_IRQ_LINE #define __KVM_HAVE_VCPU_EVENTS |