Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emulate Intel Silicon Debug MSR (fixes OpenBSD guests) #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/xhyve/support/specialreg.h
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@
#define MSR_DRAM_ENERGY_STATUS 0x619
#define MSR_PP0_ENERGY_STATUS 0x639
#define MSR_PP1_ENERGY_STATUS 0x641
#define MSR_IA32_DEBUG_INTERFACE 0xc80

/*
* VMX MSRs
Expand Down
1 change: 1 addition & 0 deletions src/xmsr.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ emulate_rdmsr(UNUSED int vcpu, uint32_t num, uint64_t *val)
case MSR_PP0_ENERGY_STATUS:
case MSR_PP1_ENERGY_STATUS:
case MSR_DRAM_ENERGY_STATUS:
case MSR_IA32_DEBUG_INTERFACE:
*val = 0;
break;
case MSR_RAPL_POWER_UNIT:
Expand Down