aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src/assertions.rs
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2024-12-16 13:53:09 +0100
committerKlaus Jensen <k.jensen@samsung.com>2025-02-26 12:40:35 +0100
commit6fc39228ffe9d54388f6d1080b502634df13bb72 (patch)
treee77264866c1e9f510adf64ed826bdb5a7aee0313 /rust/qemu-api/src/assertions.rs
parent304babd9401d8ce8fe139a70fe464332eef2cee0 (diff)
downloadqemu-6fc39228ffe9d54388f6d1080b502634df13bb72.zip
qemu-6fc39228ffe9d54388f6d1080b502634df13bb72.tar.gz
qemu-6fc39228ffe9d54388f6d1080b502634df13bb72.tar.bz2
hw/nvme: set error status code explicitly for misc commands
The nvme_aio_err() does not handle Verify, Compare, Copy and other misc commands and defaults to setting the error status code to Internal Device Error. For some of these commands, we know better, so set it explicitly. For the commands using the nvme_misc_cb() callback (Copy, Flush, ...), if no status code has explicitly been set by the lower handlers, default to Internal Device Error as previously. Reviewed-by: Jesper Wendel Devantier <foss@defmacro.it> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'rust/qemu-api/src/assertions.rs')
0 files changed, 0 insertions, 0 deletions