diff options
author | csjp <csjp@FreeBSD.org> | 2010-08-06 15:04:40 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2010-08-06 15:04:40 +0000 |
commit | 1e529a8eb9b20ba8d3270b4f13b348620eaa00a1 (patch) | |
tree | 90797735349db4b6b75c12f858178cc45405ac53 | |
parent | c1d76c06de1b1cb71cacf2b0d1803d9b7b048968 (diff) | |
download | FreeBSD-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
-rw-r--r-- | sys/kern/subr_param.c | 1 |
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 }; |