HomeFreeBSD

bhyve: Implement MSR_MISC_FEATURES_ENABLES

Description

bhyve: Implement MSR_MISC_FEATURES_ENABLES

Linux reads MISC_FEATURES_ENABLES to manage the CPUID faulting feature
(undocumented in the Intel SDM, but documented in 323850-004 (Intel
Virtualization Technology FlexMigration Application Note). Since bhyve
doesn't emulate this feature, we always return 0. Neither does bhyve
support the MONITOR/MWAIT fault bit also in this MSR (which is
documented in the sdm), so always return 0.

Sponsored by: Netflix
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D36602

(cherry picked from commit 1d21f64149224000d74e0c850686e85aefd25ef9)

Details

Provenance
impAuthored on Oct 27 2022, 5:32 PM
jhbCommitted on Jan 26 2023, 7:43 PM
Reviewer
jhb
Differential Revision
D36602: bhyve: Implement MSR_MISC_FEATURES_ENABLES
Parents
rGa7fd3f511fc5: bhyve: Remove an unused parameter from pci_nvme_append_iov_req()
Branches
Unknown
Tags
Unknown