diff options
| author | Klaus Jensen <k.jensen@samsung.com> | 2024-12-16 13:53:09 +0100 |
|---|---|---|
| committer | Klaus Jensen <k.jensen@samsung.com> | 2025-02-26 12:40:35 +0100 |
| commit | 6fc39228ffe9d54388f6d1080b502634df13bb72 (patch) | |
| tree | e77264866c1e9f510adf64ed826bdb5a7aee0313 /tests/functional/qemu_test/tuxruntest.py | |
| parent | 304babd9401d8ce8fe139a70fe464332eef2cee0 (diff) | |
| download | focaccia-qemu-6fc39228ffe9d54388f6d1080b502634df13bb72.tar.gz focaccia-qemu-6fc39228ffe9d54388f6d1080b502634df13bb72.zip | |
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 'tests/functional/qemu_test/tuxruntest.py')
0 files changed, 0 insertions, 0 deletions