svn commit: r246400 - stable/9/sys/kern

Andrey Zonov zont at FreeBSD.org
Wed Feb 6 13:13:16 UTC 2013


Author: zont
Date: Wed Feb  6 13:13:15 2013
New Revision: 246400
URL: http://svnweb.freebsd.org/changeset/base/246400

Log:
  MFC r245457:
  - Detect when we are in KVM.

Modified:
  stable/9/sys/kern/subr_param.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/subr_param.c
==============================================================================
--- stable/9/sys/kern/subr_param.c	Wed Feb  6 11:59:32 2013	(r246399)
+++ stable/9/sys/kern/subr_param.c	Wed Feb  6 13:13:15 2013	(r246400)
@@ -159,6 +159,7 @@ static const char *const vm_bnames[] = {
 	"Plex86",			/* Plex86 */
 	"Bochs",			/* Bochs */
 	"Xen",				/* Xen */
+	"Seabios",			/* KVM */
 	NULL
 };
 
@@ -167,6 +168,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-all mailing list