Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149627672
D29665.id87100.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
420 B
Referenced Files
None
Subscribers
None
D29665.id87100.diff
View Options
diff --git a/usr.sbin/bhyve/xmsr.c b/usr.sbin/bhyve/xmsr.c
--- a/usr.sbin/bhyve/xmsr.c
+++ b/usr.sbin/bhyve/xmsr.c
@@ -124,6 +124,14 @@
*/
*val = 0x000a1003;
break;
+ case MSR_IA32_FEATURE_CONTROL:
+ /*
+ * Windows guest check this MSR
+ * Bit 0 is a lock bit ==> set this bit to avoid
+ * attempts of writing to this MSR
+ */
+ *val = 1;
+ break;
default:
error = -1;
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 26, 7:16 PM (13 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30393133
Default Alt Text
D29665.id87100.diff (420 B)
Attached To
Mode
D29665: bhyve: implement rdmsr for MSR_IA32_FEATURE_CONTROL
Attached
Detach File
Event Timeline
Log In to Comment