HomeFreeBSD

bhyve: Fix Number of Power States Supported value

Description

bhyve: Fix Number of Power States Supported value

Summary:
Set Number of Power States Supported to indicate 1 power state. Keep the
Power State Descriptor data structures as zero to indicate "Not
reported".

Test Plan:
Within FreeBSD/Linux guests, list the number of power states and check
the Max Power value.

Reviewed By: markj, chuck
MFC after: 2 weeks
Signed-off-by: Wanpeng Qian <wanpengqian@gmail.com>
Differential Revision: https://reviews.freebsd.org/D32657

Details

Provenance
wanpengqian_gmail.comAuthored on Aug 14 2022, 3:26 PM
chuckCommitted on Aug 14 2022, 4:59 PM
Reviewer
markj
Differential Revision
D32657: bhyve: Fix the wrong Number of Power States Support value also set a reasonable Max Power for NVMe controller
Parents
rG2889cbe29e30: net80211: add an IEEE80211_IS_PROTECTED() macro
Branches
Unknown
Tags
Unknown