HomeFreeBSD

bhyve: NVMe set nominal health values

Description

bhyve: NVMe set nominal health values

Some operating systems believe bhyve's emulated NVMe drive is failing
based on certain values in the SMART / Health Information log page being
zero. Fix is to set the reported temperature and available spare values
to reasonable defaults.

Submitted by: wanpengqian@gmail.com
Reviewed by: grehan
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D24202

Details

Provenance
chuckAuthored on
Reviewer
grehan
Differential Revision
D24202: bhyve: Initial some NVMe controller health log data.
Parents
rS364601: MFC r364463: Fix CTL ioctl port creation error handling.
Branches
Unknown
Tags
Unknown