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
                         */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to