KVM: define __KVM_HAVE_GUEST_DEBUG unconditionally
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Jan 2024 08:12:59 +0000 (03:12 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Feb 2024 13:41:06 +0000 (08:41 -0500)
commit6bda055d625860736f7ea5b4eda816f276899d8b
tree6fd3bbf5bef8c4004be4806b569719383b7d6f04
parent8886640dade4ae2595fcdce511c8bcc716aa47d3
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>
arch/arm64/include/uapi/asm/kvm.h
arch/powerpc/include/uapi/asm/kvm.h
arch/s390/include/uapi/asm/kvm.h
arch/x86/include/uapi/asm/kvm.h
include/uapi/linux/kvm.h