[Bug 268943] virtualized kernel panics on process exit running under pmcstat

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Jun 2023 19:44:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268943

Mitchell Horne <mhorne@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Progress
                 CC|                            |mhorne@freebsd.org
           Assignee|bugs@FreeBSD.org            |mhorne@freebsd.org

--- Comment #1 from Mitchell Horne <mhorne@freebsd.org> ---
It appears that bhyve does not support virtualized performance counters,
neither on AMD or Intel. Thus, the assertion is triggered because reading the
counter configuration register will always return a value of zero.

The AMD hwpmc class should detect when this support is disabled and bail from
the initialization routine. I will work on this change.

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