mbox series

[v2,0/1] add smart_critical_warning property for nvme

Message ID 20210112074924.217862-1-pizhenwei@bytedance.com (mailing list archive)
Headers show
Series add smart_critical_warning property for nvme | expand

Message

zhenwei pi Jan. 12, 2021, 7:49 a.m. UTC
v1 -> v2:
Suggested by Philippe & Klaus, set/get smart_critical_warning by QMP.

v1:
Add smart_critical_warning for nvme device which can be set by QEMU
command line to emulate hardware error.

Zhenwei Pi (1):
  hw/block/nvme: add smart_critical_warning property

 hw/block/nvme.c | 28 ++++++++++++++++++++++++++++
 hw/block/nvme.h |  1 +
 2 files changed, 29 insertions(+)