Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109867096
D29665.id87361.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
414 B
Referenced Files
None
Subscribers
None
D29665.id87361.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 guests check this MSR.
+ * Set the lock bit to avoid writes
+ * to this MSR.
+ */
+ *val = IA32_FEATURE_CONTROL_LOCK;
+ break;
default:
error = -1;
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 11, 1:10 PM (12 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16595524
Default Alt Text
D29665.id87361.diff (414 B)
Attached To
Mode
D29665: bhyve: implement rdmsr for MSR_IA32_FEATURE_CONTROL
Attached
Detach File
Event Timeline
Log In to Comment