diff options
| author | Zhu Lingshan <[email protected]> | 2024-02-19 02:55:59 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2024-03-19 02:45:51 -0400 |
| commit | 3a1d33fb7e5f96471aa7bfe97dd09afc2aa03b39 (patch) | |
| tree | c70effff4b373a880a7c8007ff4a4fb526d8e7cd /include/uapi/linux | |
| parent | 330b8aea692410fbe8f0d058e01aea2986613ff7 (diff) | |
vDPA: report virtio-block block-size to user space
This commit allows reporting the block size of a
virtio-block device to user space.
Signed-off-by: Zhu Lingshan <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/vdpa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/vdpa.h b/include/uapi/linux/vdpa.h index 586bce3c906a..f3baf7ea7d6d 100644 --- a/include/uapi/linux/vdpa.h +++ b/include/uapi/linux/vdpa.h @@ -58,6 +58,7 @@ enum vdpa_attr { VDPA_ATTR_DEV_BLK_CFG_CAPACITY, /* u64 */ VDPA_ATTR_DEV_BLK_CFG_SEG_SIZE, /* u32 */ + VDPA_ATTR_DEV_BLK_CFG_BLK_SIZE, /* u32 */ /* new attributes must be added above here */ VDPA_ATTR_MAX, |