diff options
author | Francis Pravin Antony Michael Raj | 2022-11-02 09:06:00 +0100 |
---|---|---|
committer | Klaus Jensen | 2022-11-02 09:23:05 +0100 |
commit | 632cb6cf07122b330d8ef419ec2f4aab561a9fba (patch) | |
tree | a0631b60054e3127b0bf43a177a37763ab5fd015 /util/async-teardown.c | |
parent | hw/nvme: reenable cqe batching (diff) | |
download | qemu-632cb6cf07122b330d8ef419ec2f4aab561a9fba.tar.gz qemu-632cb6cf07122b330d8ef419ec2f4aab561a9fba.tar.xz qemu-632cb6cf07122b330d8ef419ec2f4aab561a9fba.zip |
hw/nvme: Abort copy command when format is one while pif
As per the NVMe Command Set specification Section 3.2.2, if
i) The namespace is formatted to use 16b Guard Protection
Information (i.e., pif = 0) and
ii) The Descriptor Format is not cleared to 0h
Then the copy command should be aborted with the status code of Invalid
Namespace or Format
Fixes: 44219b6029fc ("hw/nvme: 64-bit pi support")
Signed-off-by: Francis Pravin Antony Michael Raj <francis.michael@solidigm.com>
Signed-off-by: Jonathan Derrick <jonathan.derrick@solidigm.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'util/async-teardown.c')
0 files changed, 0 insertions, 0 deletions