aboutsummaryrefslogtreecommitdiff
path: root/qapi/block-core.json
diff options
context:
space:
mode:
authorAlberto Faria <afaria@redhat.com>2022-10-29 00:38:54 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2022-10-31 14:35:14 -0400
commit6c32fc0df9cd901add75618c831fb26a9eb742cb (patch)
tree1b088c238fac85ab86a7db839ec9b171710fc00c /qapi/block-core.json
parent4c8f4fda0504564580f5c0a37e2d4b32ff17d2a1 (diff)
downloadqemu-6c32fc0df9cd901add75618c831fb26a9eb742cb.zip
qemu-6c32fc0df9cd901add75618c831fb26a9eb742cb.tar.gz
qemu-6c32fc0df9cd901add75618c831fb26a9eb742cb.tar.bz2
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/block-core.json')
-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 81bbb0b..6d90400 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' }
##