On 14 April 2011 00:27, Jung-uk Kim <j...@freebsd.org> wrote:

>
> That means your VM has broken CPUID support.  To get there, it has to
> meet two conditions, i.e., TSC is invariant and it has APERF/MPERF
> MSRs.  A simple workaround is setting "machdep.disable_tsc=1"
> tuanable from loader but your VM is the real culprit here.

You are probably right but fixing VMs is not going to happen (or not
soon enough) so workarounds must be implemented.

I don't know if it is called early enough for this purpose, but
detect_virtual() in kern/subr_param.c initializes the vm_guest
variable which could be useful for such workarounds (also see how
vm_guest is used in init_param1() in the same file to scale down HZ).
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to