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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to