From ea235a1449201e671efcf1d28ba843b7f4049a61 Mon Sep 17 00:00:00 2001 From: "Christian S.J. Peron" Date: Fri, 6 Aug 2010 15:04:40 +0000 Subject: [PATCH] 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 --- sys/kern/subr_param.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index 9fbbe947a5e..f4d0003f646 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 };