aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorFiona Ebner <f.ebner@proxmox.com>2024-01-23 14:50:44 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2024-01-30 16:13:28 -0500
commit75e79f5a08c9d6a573bace48403799fd432b5dbd (patch)
treea7fd1ee80bc77efc8e107eb201d1a7f37bd732d0 /scripts/qapi/source.py
parentMerge tag 'pull-vfio-20240129' of https://github.com/legoater/qemu into staging (diff)
downloadqemu-75e79f5a08c9d6a573bace48403799fd432b5dbd.tar.xz
qemu-75e79f5a08c9d6a573bace48403799fd432b5dbd.zip
block/io_uring: improve error message when init fails
The man page for io_uring_queue_init states: > io_uring_queue_init(3) returns 0 on success and -errno on failure. and the man page for io_uring_setup (which is one of the functions where the return value of io_uring_queue_init() can come from) states: > On error, a negative error code is returned. The caller should not > rely on errno variable. Tested using 'sysctl kernel.io_uring_disabled=2'. Output before this change: > failed to init linux io_uring ring Output after this change: > failed to init linux io_uring ring: Operation not permitted Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-ID: <20240123135044.204985-1-f.ebner@proxmox.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions