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
feat: add scsi mode sense operation to detect write protection (#1524)
## Description
We encountered some errors where on attaching a ReadOnly disk led to
write failures. We RCA'd the failure to the Volume protocol not being
set to be write protected. We are proposing this change to update the
blockIo protocol's media property to set Write protections based on
performing a MODE SENSE operation.
For details on how to complete these options and their meaning refer to
[CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md).
- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?
## How This Was Tested
We tested the change while booting a VM with VHD attached as read only
mode and then without read-only mode. We don't encounter any errors
which we were hitting earlier.
## Integration Instructions
NA
---------
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
0 commit comments