[Bug 232081] 12.0-BETA8 crashes under 11.2+Bhyve on Phenom-II (unemulated clflush [ebx])
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Oct 8 21:17:26 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232081
Andriy Gapon <avg at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kib at FreeBSD.org
--- Comment #1 from Andriy Gapon <avg at FreeBSD.org> ---
I suspect that the issue was uncovered by base r338807.
It seems that CPUID_CLFSH feature is advertised to the guest because the host
supports it. But there is some special code in initializecpucache() that
clears the flag for VM guests. But ifuncs are resolved before
initializecpucache() is called. So, clflush gets enabled since the switch to
ifuncs.
I guess that if bhyve does not emulate clflush and if the hardware does not
support it in virtualized mode, then bhyve should clear CPUID_CLFSH.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list