Closed erichchan999 closed 2 weeks ago
You forgot to change existing uses of BLK_RESP_SEEK_ERROR
.
BLK_RESP_ERR_NO_DEVICE: can't handle request because the device is unplugged
Should this be BLK_RESP_ERR_NOT_READY
instead?
If we want errors specific to the hot-plugging that should be in a separate PR probably with all the other hot-plugging changes.
We should be checking that cli_code
is valid and if it is not respond with BLK_RESP_ERR_INVALID_PARAM
.
We should be checking that
cli_code
is valid and if it is not respond withBLK_RESP_ERR_INVALID_PARAM
.
Yep, I plan to do that in a separate PR along with some other changes to the virtualiser
This was mostly to unblock me (as I'd asked about the return codes for errors).
Yep, I plan to do that in a separate PR along with some other changes to the virtualiser
Nvm scratch that, I'll change those errors codes anyway in this PR and make a separate PR for the virtualiser fixes