svn commit: r273245 - projects/bhyve_svm/sys/amd64/vmm
Neel Natu
neel at FreeBSD.org
Sat Oct 18 05:39:33 UTC 2014
Author: neel
Date: Sat Oct 18 05:39:32 2014
New Revision: 273245
URL: https://svnweb.freebsd.org/changeset/base/273245
Log:
Don't advertise support for the NodeID MSR since bhyve doesn't emulate it.
Modified:
projects/bhyve_svm/sys/amd64/vmm/x86.c
Modified: projects/bhyve_svm/sys/amd64/vmm/x86.c
==============================================================================
--- projects/bhyve_svm/sys/amd64/vmm/x86.c Sat Oct 18 01:02:30 2014 (r273244)
+++ projects/bhyve_svm/sys/amd64/vmm/x86.c Sat Oct 18 05:39:32 2014 (r273245)
@@ -171,6 +171,9 @@ x86_emulate_cpuid(struct vm *vm, int vcp
*/
regs[2] &= ~AMDID2_IBS;
+ /* NodeID MSR not available */
+ regs[2] &= ~AMDID2_NODE_ID;
+
/*
* Hide rdtscp/ia32_tsc_aux until we know how
* to deal with them.
More information about the svn-src-projects
mailing list