hw/block/nvme: add temperature threshold feature
authorKlaus Jensen <k.jensen@samsung.com>
Mon, 6 Jul 2020 06:12:50 +0000 (08:12 +0200)
committerKlaus Jensen <k.jensen@samsung.com>
Wed, 2 Sep 2020 06:48:50 +0000 (08:48 +0200)
commit69ff06c49e9b0768bd68d887c2f29e8ff84dfaf3
tree700c9a54b560ac344c2e30c778f4fb609dd73e68
parent1504ede69304ee8588483dd8c5e6434dd2c0faff
hw/block/nvme: add temperature threshold feature

It might seem weird to implement this feature for an emulated device,
but it is mandatory to support and the feature is useful for testing
asynchronous event request support, which will be added in a later
patch.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Acked-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Message-Id: <20200706061303.246057-6-its@irrelevant.dk>
hw/block/nvme.c
hw/block/nvme.h
include/block/nvme.h