]> git.proxmox.com Git - mirror_qemu.git/commit
block/blkio: Make driver nvme-io_uring take a "path" instead of a "filename"
authorAlberto Faria <afaria@redhat.com>
Fri, 28 Oct 2022 23:38:54 +0000 (00:38 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 31 Oct 2022 18:35:14 +0000 (14:35 -0400)
commit6c32fc0df9cd901add75618c831fb26a9eb742cb
tree1b088c238fac85ab86a7db839ec9b171710fc00c
parent4c8f4fda0504564580f5c0a37e2d4b32ff17d2a1
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>
block/blkio.c
qapi/block-core.json