OSDN Git Service

hw/block/nvme: add compare command
authorGollu Appalanaidu <anaidu.gollu@samsung.com>
Mon, 16 Nov 2020 10:14:02 +0000 (11:14 +0100)
committerKlaus Jensen <k.jensen@samsung.com>
Mon, 8 Feb 2021 17:55:48 +0000 (18:55 +0100)
commit0a384f923f519b4229c07816900e87f4a28d3abb
treec84d514003c8d81c83c4bc3d674a56aeb70ec2c4
parent2605257a26b873eb8a0917391063df9c7ed7a976
hw/block/nvme: add compare command

Add the Compare command.

This implementation uses a bounce buffer to read in the data from
storage and then compare with the host supplied buffer.

Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
[k.jensen: rebased]
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
hw/block/nvme.c
hw/block/trace-events