mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -789,6 +789,7 @@ enum NvmeSmartWarn {
|
||||||
NVME_SMART_RELIABILITY = 1 << 2,
|
NVME_SMART_RELIABILITY = 1 << 2,
|
||||||
NVME_SMART_MEDIA_READ_ONLY = 1 << 3,
|
NVME_SMART_MEDIA_READ_ONLY = 1 << 3,
|
||||||
NVME_SMART_FAILED_VOLATILE_MEDIA = 1 << 4,
|
NVME_SMART_FAILED_VOLATILE_MEDIA = 1 << 4,
|
||||||
|
NVME_SMART_PMR_UNRELIABLE = 1 << 5,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct NvmeEffectsLog {
|
typedef struct NvmeEffectsLog {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue