svn commit: r347639 - head/sys/x86/x86
Conrad Meyer
cem at FreeBSD.org
Thu May 16 01:32:55 UTC 2019
Author: cem
Date: Thu May 16 01:32:54 2019
New Revision: 347639
URL: https://svnweb.freebsd.org/changeset/base/347639
Log:
x86: Correctly identify bhyve hypervisor
Spotted after a similar report by Olivier Cochard-Labbé.
Sponsored by: Dell EMC Isilon
Modified:
head/sys/x86/x86/identcpu.c
Modified: head/sys/x86/x86/identcpu.c
==============================================================================
--- head/sys/x86/x86/identcpu.c Thu May 16 01:09:13 2019 (r347638)
+++ head/sys/x86/x86/identcpu.c Thu May 16 01:32:54 2019 (r347639)
@@ -1365,7 +1365,7 @@ identify_hypervisor(void)
vm_guest = VM_GUEST_HV;
else if (strcmp(hv_vendor, "KVMKVMKVM") == 0)
vm_guest = VM_GUEST_KVM;
- else if (strcmp(hv_vendor, "bhyve bhyve") == 0)
+ else if (strcmp(hv_vendor, "bhyve bhyve ") == 0)
vm_guest = VM_GUEST_BHYVE;
}
return;
More information about the svn-src-head
mailing list