svn commit: r245457 - head/sys/kern

Andrey Zonov zont at FreeBSD.org
Tue Jan 15 14:06:00 UTC 2013


Author: zont
Date: Tue Jan 15 14:05:59 2013
New Revision: 245457
URL: http://svnweb.freebsd.org/changeset/base/245457

Log:
  - Detect when we are in KVM.
  
  Silence on:	emulation
  Approved by:	kib (mentor)
  MFC after:	1 week

Modified:
  head/sys/kern/subr_param.c

Modified: head/sys/kern/subr_param.c
==============================================================================
--- head/sys/kern/subr_param.c	Tue Jan 15 10:06:35 2013	(r245456)
+++ head/sys/kern/subr_param.c	Tue Jan 15 14:05:59 2013	(r245457)
@@ -161,6 +161,7 @@ static const char *const vm_bnames[] = {
 	"Bochs",			/* Bochs */
 	"Xen",				/* Xen */
 	"BHYVE",			/* bhyve */
+	"Seabios",			/* KVM */
 	NULL
 };
 
@@ -169,6 +170,7 @@ static const char *const vm_pnames[] = {
 	"Virtual Machine",		/* Microsoft VirtualPC */
 	"VirtualBox",			/* Sun xVM VirtualBox */
 	"Parallels Virtual Platform",	/* Parallels VM */
+	"KVM",				/* KVM */
 	NULL
 };
 


More information about the svn-src-head mailing list