diff options
author | zont <zont@FreeBSD.org> | 2013-01-15 14:05:59 +0000 |
---|---|---|
committer | zont <zont@FreeBSD.org> | 2013-01-15 14:05:59 +0000 |
commit | 5e5b6a92498c32ac0c540317d76421cb9029b2df (patch) | |
tree | fc07601458412837f78a0d8cbaaa73e4fc73380a /sys/kern/subr_param.c | |
parent | 97cf52e0e84ee9755cbc28901984c0f6d7e213b2 (diff) | |
download | FreeBSD-src-5e5b6a92498c32ac0c540317d76421cb9029b2df.zip FreeBSD-src-5e5b6a92498c32ac0c540317d76421cb9029b2df.tar.gz |
- Detect when we are in KVM.
Silence on: emulation
Approved by: kib (mentor)
MFC after: 1 week
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r-- | sys/kern/subr_param.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index fe10a87..fcb41e7 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 }; |