svn commit: r255645 - head/sys/amd64/vmm

Peter Grehan grehan at FreeBSD.org
Tue Sep 17 17:56:54 UTC 2013


Author: grehan
Date: Tue Sep 17 17:56:53 2013
New Revision: 255645
URL: http://svnweb.freebsd.org/changeset/base/255645

Log:
  Hide TSC-deadline APIC timer support from guests. This mode
  isn't yet implemented in bhyve's APIC emulation.
  
  Reviewed by:	neel
  Approved by:	re@ (blanket)

Modified:
  head/sys/amd64/vmm/x86.c

Modified: head/sys/amd64/vmm/x86.c
==============================================================================
--- head/sys/amd64/vmm/x86.c	Tue Sep 17 17:39:40 2013	(r255644)
+++ head/sys/amd64/vmm/x86.c	Tue Sep 17 17:56:53 2013	(r255645)
@@ -163,7 +163,12 @@ x86_emulate_cpuid(struct vm *vm, int vcp
 			 * Hide the performance and debug features.
 			 */
 			regs[2] &= ~CPUID2_PDCM;
-			
+
+			/*
+			 * No TSC deadline support in the APIC yet
+			 */
+			regs[2] &= ~CPUID2_TSCDLT;
+
 			/*
 			 * Hide thermal monitoring
 			 */


More information about the svn-src-head mailing list