Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
Add LIS version in Crash MSR
Browse files Browse the repository at this point in the history
  • Loading branch information
vyadavmsft committed Feb 9, 2018
1 parent c14d24a commit bba9a2b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hv-rhel6.x/hv/arch/x86/hyperv/hv_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ void hyperv_report_panic(struct pt_regs *regs, long err)
wrmsrl(HV_X64_MSR_CRASH_P0, err);
wrmsrl(HV_X64_MSR_CRASH_P1, guest_id);
wrmsrl(HV_X64_MSR_CRASH_P2, regs->ip);
wrmsrl(HV_X64_MSR_CRASH_P3, regs->ax);
wrmsrl(HV_X64_MSR_CRASH_P3, _HV_DRV_VERSION);
wrmsrl(HV_X64_MSR_CRASH_P4, regs->sp);

/*
Expand Down
2 changes: 1 addition & 1 deletion hv-rhel6.x/hv/include/linux/hv_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#define CN_VSS_VAL 0x1

#define HV_DRV_VERSION "4.2.4-beta5"

#define _HV_DRV_VERSION 0x1A8

#ifdef __KERNEL__

Expand Down
2 changes: 1 addition & 1 deletion hv-rhel7.x/hv/arch/x86/hyperv/hv_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ void hyperv_report_panic(struct pt_regs *regs, long err)
wrmsrl(HV_X64_MSR_CRASH_P0, err);
wrmsrl(HV_X64_MSR_CRASH_P1, guest_id);
wrmsrl(HV_X64_MSR_CRASH_P2, regs->ip);
wrmsrl(HV_X64_MSR_CRASH_P3, regs->ax);
wrmsrl(HV_X64_MSR_CRASH_P3, _HV_DRV_VERSION);
wrmsrl(HV_X64_MSR_CRASH_P4, regs->sp);

/*
Expand Down
2 changes: 1 addition & 1 deletion hv-rhel7.x/hv/include/linux/hv_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#endif

#define HV_DRV_VERSION "4.2.4-beta5"

#define _HV_DRV_VERSION 0x1A8

#ifdef __KERNEL__

Expand Down

0 comments on commit bba9a2b

Please sign in to comment.