svn commit: r210935 - head/sys/kern

[ Available lists | Index of svn-src-head | Month of Aug 2010 | Week of 6 Aug 2010 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Christian S.J. Peron <csjp@FreeBSD.org>
Date
6 Aug 2010 15:04:40
Subject
svn commit: r210935 - head/sys/kern
Message-ID
201008061504.o76F4eNZ049355@svn.freebsd.org


[ Hide this part ]
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
};



Elapsed time: 0.061 seconds