]> xenbits.xensource.com Git - qemu-xen.git/commit
hw/nvme: fix missing DNR on compare failure
authorKlaus Jensen <k.jensen@samsung.com>
Thu, 25 Aug 2022 05:29:08 +0000 (07:29 +0200)
committerKlaus Jensen <k.jensen@samsung.com>
Mon, 27 Mar 2023 17:05:23 +0000 (19:05 +0200)
commitca2a091802872b265bc6007a2d36276d51d8e4b3
tree905009abe56d13af46d18b294ea25aa47e5b7e91
parent9b4f01812f69ad6066725338c89945bb61f41823
hw/nvme: fix missing DNR on compare failure

Even if the host is somehow using compare to do compare-and-write, the
host should be notified immediately about the compare failure and not
have to wait for the driver to potentially retry the command.

Fixes: 0a384f923f51 ("hw/block/nvme: add compare command")
Reported-by: Jim Harris <james.r.harris@intel.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
hw/nvme/ctrl.c