diff options
| author | Alvaro Karsz <[email protected]> | 2022-09-21 08:27:29 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2022-10-07 13:32:41 +0000 |
| commit | e60d64074214db7207fc13c25ee39d8d47cb4a34 (patch) | |
| tree | 3e81886cd2f96bbf3828d8515aa1db09032ca3aa /scripts/clang-tools/run-clang-tools.py | |
| parent | vp_vdpa: support feature provisioning (diff) | |
| download | kernel-e60d64074214db7207fc13c25ee39d8d47cb4a34.tar.gz kernel-e60d64074214db7207fc13c25ee39d8d47cb4a34.zip | |
virtio_blk: add SECURE ERASE command support
Support for the VIRTIO_BLK_F_SECURE_ERASE VirtIO feature.
A device that offers this feature can receive VIRTIO_BLK_T_SECURE_ERASE
commands.
A device which supports this feature has the following fields in the
virtio config:
- max_secure_erase_sectors
- max_secure_erase_seg
- secure_erase_sector_alignment
max_secure_erase_sectors and secure_erase_sector_alignment are expressed
in 512-byte units.
Every secure erase command has the following fields:
- sectors: The starting offset in 512-byte units.
- num_sectors: The number of sectors.
Signed-off-by: Alvaro Karsz <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Diffstat (limited to 'scripts/clang-tools/run-clang-tools.py')
0 files changed, 0 insertions, 0 deletions
