You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No, I was just reading code because I'm trying to do something similar. And the code looks more or less obviously wrong, so I thought I'd let you know. I didn't realize that the code is in fact unreachable.
In viostor/virtio_stor_hw_helper.c:RhelGetLba() the case for 6-byte operations looks like this:
From reading the code and the other cases it very much looks as if this gets the endianness wrong.
The LSB should go into Byte0 not the MSB.
As this does not seem to cause issues in real life, I'd assume that Windows does not uses these SCSI opcodes.
The text was updated successfully, but these errors were encountered: