Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2010 15:04:40 +0000 (UTC)
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210935 - head/sys/kern
Message-ID:  <201008061504.o76F4eNZ049355@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008061504.o76F4eNZ049355>