svn commit: r246401 - stable/8/sys/kern

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


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

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

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

Modified: stable/8/sys/kern/subr_param.c
==============================================================================
--- stable/8/sys/kern/subr_param.c	Wed Feb  6 13:13:15 2013	(r246400)
+++ stable/8/sys/kern/subr_param.c	Wed Feb  6 13:14:30 2013	(r246401)
@@ -155,6 +155,7 @@ static const char *const vm_bnames[] = {
 	"Plex86",			/* Plex86 */
 	"Bochs",			/* Bochs */
 	"Xen",				/* Xen */
+	"Seabios",			/* KVM */
 	NULL
 };
 
@@ -163,6 +164,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-stable-8 mailing list