svn commit: r210935 - head/sys/kern
Christian S.J. Peron
csjp at FreeBSD.org
Fri Aug 6 15:04:40 UTC 2010
Author: csjp
Date: Fri Aug 6 15:04:40 2010
New Revision: 210935
URL: http://svn.freebsd.org/changeset/base/210935
Log:
Add Xen to the list of virtual vendors. In the non PV (HVM) case this fixes
the virtualization detection successfully disabling the clflush instruction.
This fixes insta-panics for XEN hvm users when the hw.clflush_disable
tunable is -1 or 0 (-1 by default).
Discussed with: jhb
Modified:
head/sys/kern/subr_param.c
Modified: head/sys/kern/subr_param.c
==============================================================================
--- head/sys/kern/subr_param.c Fri Aug 6 15:04:01 2010 (r210934)
+++ head/sys/kern/subr_param.c Fri Aug 6 15:04:40 2010 (r210935)
@@ -149,6 +149,7 @@ static const char *const vm_bnames[] = {
"QEMU", /* QEMU */
"Plex86", /* Plex86 */
"Bochs", /* Bochs */
+ "Xen", /* Xen */
NULL
};
More information about the svn-src-head
mailing list