Skip to content

Commit a88464a

Browse files
Andrey Smetaninbonzini
authored andcommitted
kvm: add hyper-v crash msrs values
Added Hyper-V crash msrs values - HV_X64_MSR_CRASH*. Signed-off-by: Andrey Smetanin <[email protected]> Signed-off-by: Denis V. Lunev <[email protected]> Reviewed-by: Peter Hornyack <[email protected]> CC: Paolo Bonzini <[email protected]> CC: Gleb Natapov <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent b0996ae commit a88464a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

arch/x86/include/uapi/asm/hyperv.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,17 @@
199199
#define HV_X64_MSR_STIMER3_CONFIG 0x400000B6
200200
#define HV_X64_MSR_STIMER3_COUNT 0x400000B7
201201

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+
202213
#define HV_X64_MSR_HYPERCALL_ENABLE 0x00000001
203214
#define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_SHIFT 12
204215
#define HV_X64_MSR_HYPERCALL_PAGE_ADDRESS_MASK \

0 commit comments

Comments
 (0)