[Bug 192470] [bhyve] can't boot FreeBSD in bhyve on CURRENT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 28 01:26:29 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470

--- Comment #9 from Peter Grehan <grehan at FreeBSD.org> ---
Comment on attachment 146425
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146425
cpuid difference

Thanks - I think this explains it.

-Vendor ID: "GenuineIntel"; CPUID level 13
+Vendor ID: "GenuineIntel"; CPUID level 2

The AP is coming up with a reduced number of CPU leaves compared to the BSP.
FreeBSD (and bhyve) assumes that this is the same in all CPUs. FreeBSD itself
pulls all information about the system from the BSP's leaf contents, and then
assumes this is the same for all other CPUs.

bhyve's assumption is that it can call do_cpuid() on any CPU and get the
same information to pass to guests on CPUID exits.

A lot of applications also assume this and will look at CPUID values to
determine whether they can use SSE/SSE2/AVX libraries etc.

What system is this ? Are there BIOS options to change max leaf values ? Is
it running nested ?

later,

Peter.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list