diff options
author | Andrey Smetanin <asmetanin@virtuozzo.com> | 2015-07-02 12:07:46 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-07-03 12:55:20 -0400 |
commit | a88464a8b0ffb2f8dfb69d3ab982169578b50f22 (patch) | |
tree | 865b0f65d3cbbbda8a20273f5cf06c9a706bda5a | |
parent | b0996ae48285364710bce812e70ce67771ea6ef7 (diff) |
kvm: add hyper-v crash msrs values
Added Hyper-V crash msrs values - HV_X64_MSR_CRASH*.
Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Peter Hornyack <peterhornyack@google.com>
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Gleb Natapov <gleb@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | arch/x86/include/uapi/asm/hyperv.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/include/uapi/asm/hyperv.h b/arch/x86/include/uapi/asm/hyperv.h index ce6068dbcfbc..8fba544e9cc4 100644 --- a/arch/x86/include/uapi/asm/hyperv.h +++ b/arch/x86/include/uapi/asm/hyperv.h | |||
@@ -199,6 +199,17 @@ | |||
199 | #define HV_X64_MSR_STIMER3_CONFIG 0x400000B6 | 199 | #define HV_X64_MSR_STIMER3_CONFIG 0x400000B6 |
200 | #define HV_X64_MSR_STIMER3_COUNT 0x400000B7 | 200 | #define HV_X64_MSR_STIMER3_COUNT 0x400000B7 |
201 | 201 | ||
202 | /* Hyper-V guest crash notification MSR's */ | ||
203 | #define HV_X64_MSR_CRASH_P0 0x40000100 | ||
204 | #define HV_X64_MSR_CRASH_P1 0x40000101 | ||
205 | #define HV_X64_MSR_CRASH_P2 0x40000102 | ||
206 | #define HV_X64_MSR_CRASH_P3 0x40000103 | ||
207 | #define HV_X64_MSR_CRASH_P4 0x40000104 | ||
208 | #define HV_X64_MSR_CRASH_CTL 0x40000105 | ||
209 | #define HV_X64_MSR_CRASH_CTL_NOTIFY (1ULL << 63) | ||
210 | #define HV_X64_MSR_CRASH_PARAMS \ | ||
211 | (1 + (HV_X64_MSR_CRASH_P4 - HV_X64_MSR_CRASH_P0)) | ||
212 | |||
202 | #define HV_X64_MSR_HYPERCALL_ENABLE 0x00000001 | 213 | #define HV_X64_MSR_HYPERCALL_ENABLE 0x00000001 |
203 | #define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_SHIFT 12 | 214 | #define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_SHIFT 12 |
204 | #define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_MASK \ | 215 | #define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_MASK \ |