KVM: x86: implement KVM_CAP_SET_GUEST_DEBUG2
authorMaxim Levitsky <mlevitsk@redhat.com>
Thu, 1 Apr 2021 13:54:45 +0000 (16:54 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Apr 2021 12:31:02 +0000 (08:31 -0400)
commit7e582ccbbd737181a5f9a7e3b8f7523a62550796
tree54d07a74858dc9cc58c305c3acce387f2eb1aded
parent8b13c36493d8cb56fc3b386507873c5412b7108d
KVM: x86: implement KVM_CAP_SET_GUEST_DEBUG2

Store the supported bits into KVM_GUESTDBG_VALID_MASK
macro, similar to how arm does this.

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210401135451.1004564-4-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c