Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2014 05:39:32 +0000 (UTC)
From:      Neel Natu <neel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r273245 - projects/bhyve_svm/sys/amd64/vmm
Message-ID:  <201410180539.s9I5dWeD020583@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410180539.s9I5dWeD020583>