From 0165f660c150a82bc8487835f1d23b397bff5c9f Mon Sep 17 00:00:00 2001 From: Andrey Zonov Date: Tue, 15 Jan 2013 14:05:59 +0000 Subject: [PATCH] - Detect when we are in KVM. Silence on: emulation Approved by: kib (mentor) MFC after: 1 week --- sys/kern/subr_param.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index fe10a87238f1..fcb41e717d4a 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -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 };