x86: Correctly identify bhyve hypervisor

Spotted after a similar report by Olivier Cochard-Labbé.

Sponsored by:	Dell EMC Isilon
This commit is contained in:
Conrad Meyer 2019-05-16 01:32:54 +00:00
parent 871b6b10ce
commit e7e3d5223f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347639

View File

@ -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;