OSDN Git Service

hw/block/nvme: add support for the abort command
authorKlaus Jensen <k.jensen@samsung.com>
Mon, 6 Jul 2020 06:12:49 +0000 (08:12 +0200)
committerKlaus Jensen <k.jensen@samsung.com>
Wed, 2 Sep 2020 06:48:50 +0000 (08:48 +0200)
commit1504ede69304ee8588483dd8c5e6434dd2c0faff
treec8eff5e7b631a66143912b7331398fc911cb8361
parenta04425fb06738b696ba81a5494645965b1c5955b
hw/block/nvme: add support for the abort command

Required for compliance with NVMe revision 1.3d. See NVM Express 1.3d,
Section 5.1 ("Abort command").

The Abort command is a best effort command; for now, the device always
fails to abort the given command.

Signed-off-by: Klaus Jensen <klaus.jensen@cnexlabs.com>
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-5-its@irrelevant.dk>
hw/block/nvme.c