HomeFreeBSD

vmm vmx: Add a global bool to indicate if the host has the TSC_AUX MSR.

Description

vmm vmx: Add a global bool to indicate if the host has the TSC_AUX MSR.

A future commit will remove direct access to vCPU structures from
struct vmx, so add a dedicated boolean for this rather than checking
the capabilities for vCPU 0.

Reviewed by: corvink, markj
Differential Revision: https://reviews.freebsd.org/D37269

(cherry picked from commit 73abae4493782e44a3382b15f5563c3f400bf51f)

Details

Provenance
jhbAuthored on Nov 18 2022, 5:58 PM
Reviewer
corvink
Differential Revision
D37269: vmm vmx: Add a global bool to indicate if the host has the TSC_AUX MSR.
Parents
rGf5bc0f746681: vmm: Rework snapshotting of CPU-specific per-vCPU data.
Branches
Unknown
Tags
Unknown