x86: Correctly identify bhyve hypervisor

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

Sponsored by:	Dell EMC Isilon
This commit is contained in:
cem 2019-05-16 01:32:54 +00:00
parent b35b7d2f49
commit ad030a4be0

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;