summaryrefslogtreecommitdiff
path: root/include/uapi/linux/vdpa.h
diff options
context:
space:
mode:
authorAlvaro Karsz <alvaro.karsz@solid-run.com>2022-09-21 11:27:29 +0300
committerMichael S. Tsirkin <mst@redhat.com>2022-10-07 09:32:41 -0400
commite60d64074214db7207fc13c25ee39d8d47cb4a34 (patch)
tree3e81886cd2f96bbf3828d8515aa1db09032ca3aa /include/uapi/linux/vdpa.h
parentc1ca352d371f724f7fb40f016abdb563aa85fe55 (diff)
downloadlwn-e60d64074214db7207fc13c25ee39d8d47cb4a34.tar.gz
lwn-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 <alvaro.karsz@solid-run.com> Message-Id: <20220921082729.2516779-1-alvaro.karsz@solid-run.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/uapi/linux/vdpa.h')
0 files changed, 0 insertions, 0 deletions