mirror of https://github.com/xemu-project/xemu.git
nvme: introduce bit 5 for critical warning
According to NVM Express v1.4, Section 5.14.1.2 ("SMART / Health Information"), introduce bit 5 for "Persistent Memory Region has become read-only or unreliable". Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> [k.jensen: minor brush ups in commit message] Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
This commit is contained in:
parent
635b23ad43
commit
c6d1b5c13b
|
@ -789,6 +789,7 @@ enum NvmeSmartWarn {
|
|||
NVME_SMART_RELIABILITY = 1 << 2,
|
||||
NVME_SMART_MEDIA_READ_ONLY = 1 << 3,
|
||||
NVME_SMART_FAILED_VOLATILE_MEDIA = 1 << 4,
|
||||
NVME_SMART_PMR_UNRELIABLE = 1 << 5,
|
||||
};
|
||||
|
||||
typedef struct NvmeEffectsLog {
|
||||
|
|
Loading…
Reference in New Issue