summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2010-08-06 15:04:40 +0000
committercsjp <csjp@FreeBSD.org>2010-08-06 15:04:40 +0000
commit1e529a8eb9b20ba8d3270b4f13b348620eaa00a1 (patch)
tree90797735349db4b6b75c12f858178cc45405ac53 /sys/kern/subr_param.c
parentc1d76c06de1b1cb71cacf2b0d1803d9b7b048968 (diff)
downloadFreeBSD-src-1e529a8eb9b20ba8d3270b4f13b348620eaa00a1.zip
FreeBSD-src-1e529a8eb9b20ba8d3270b4f13b348620eaa00a1.tar.gz
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
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index 9fbbe94..f4d0003 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -149,6 +149,7 @@ static const char *const vm_bnames[] = {
"QEMU", /* QEMU */
"Plex86", /* Plex86 */
"Bochs", /* Bochs */
+ "Xen", /* Xen */
NULL
};
OpenPOWER on IntegriCloud