Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2013 14:06:00 +0000 (UTC)
From:      Andrey Zonov <zont@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r245457 - head/sys/kern
Message-ID:  <201301151406.r0FE60cS049746@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301151406.r0FE60cS049746>