[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] block/blkio: Make driver nvme-io_uring take a "path" instead
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] block/blkio: Make driver nvme-io_uring take a "path" instead of a "filename" |
Date: |
Mon, 31 Oct 2022 14:35:03 -0400 |
On Sat, Oct 29, 2022 at 12:38:54AM +0100, Alberto Faria wrote:
> 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>
> ---
> block/blkio.c | 12 ++++++++----
> qapi/block-core.json | 4 ++--
> 2 files changed, 10 insertions(+), 6 deletions(-)
I have applied this so I can prepare a final pull request for QEMU 7.2.
If we decide to follow a different naming strategy in the next day (QEMU
soft freeze) then I'll drop the patch, but for now I think this is the
most likely way forward.
Thanks, applied to my block tree:
https://gitlab.com/stefanha/qemu/commits/block
Stefan
signature.asc
Description: PGP signature