OSDN Git Service

x86/hyper-v: Add synthetic debugger definitions
authorJon Doron <arilou@gmail.com>
Fri, 29 May 2020 13:45:39 +0000 (16:45 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Jun 2020 08:26:10 +0000 (04:26 -0400)
commit22ad0026d0978d4211eb07a2be77f49fb40d86eb
tree4a60fc8edbbfe2911541987b3e2d247a18f8ba59
parent8d7fbf01f9afc9ea1381de705013aa3ca453009f
x86/hyper-v: Add synthetic debugger definitions

Hyper-V synthetic debugger has two modes, one that uses MSRs and
the other that use Hypercalls.

Add all the required definitions to both types of synthetic debugger
interface.

Some of the required new CPUIDs and MSRs are not documented in the TLFS
so they are in hyperv.h instead.

The reason they are not documented is because they are subjected to be
removed in future versions of Windows.

Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Jon Doron <arilou@gmail.com>
Message-Id: <20200529134543.1127440-3-arilou@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/hyperv-tlfs.h
arch/x86/kvm/hyperv.h