summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorAlberto Faria2022-10-29 01:38:54 +0200
committerStefan Hajnoczi2022-10-31 19:35:14 +0100
commit6c32fc0df9cd901add75618c831fb26a9eb742cb (patch)
tree1b088c238fac85ab86a7db839ec9b171710fc00c /qapi
parentblock/blkio: Tolerate device size changes (diff)
downloadqemu-6c32fc0df9cd901add75618c831fb26a9eb742cb.tar.gz
qemu-6c32fc0df9cd901add75618c831fb26a9eb742cb.tar.xz
qemu-6c32fc0df9cd901add75618c831fb26a9eb742cb.zip
block/blkio: Make driver nvme-io_uring take a "path" instead of a "filename"
The nvme-io_uring driver expects a character special file such as /dev/ng0n1. Follow the convention of having a "filename" option when a regular file is expected, and a "path" option otherwise. This makes io_uring the only libblkio-based driver with a "filename" option, as it accepts a regular file (even though it can also take a block special file). Signed-off-by: Alberto Faria <afaria@redhat.com> Message-id: 20221028233854.839933-1-afaria@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/block-core.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 81bbb0b893..6d904004f8 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -3704,12 +3704,12 @@
#
# Driver specific block device options for the nvme-io_uring backend.
#
-# @filename: path to the image file
+# @path: path to the image file
#
# Since: 7.2
##
{ 'struct': 'BlockdevOptionsNvmeIoUring',
- 'data': { 'filename': 'str' },
+ 'data': { 'path': 'str' },
'if': 'CONFIG_BLKIO' }
##