From b6cd2348f51541b994ceee26e1394be6db19e2e5 Mon Sep 17 00:00:00 2001 From: Archana Shinde Date: Thu, 28 Jul 2022 15:37:00 -0700 Subject: [PATCH] govmm: Add io_uring as AIO type io_uring was introduced as a new kernel IO interface in kernel 5.1. It is designed for higher performance than the older Linux AIO API. This feature was added in qemu 5.0. Fixes #4645 Signed-off-by: Archana Shinde --- src/runtime/pkg/govmm/qemu/qemu.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime/pkg/govmm/qemu/qemu.go b/src/runtime/pkg/govmm/qemu/qemu.go index 5fb284eb11..4b36df2ea3 100644 --- a/src/runtime/pkg/govmm/qemu/qemu.go +++ b/src/runtime/pkg/govmm/qemu/qemu.go @@ -1142,6 +1142,9 @@ const ( // Native is the native Linux AIO implementation. Native BlockDeviceAIO = "native" + + // IOUring is the Linux io_uring I/O implementation. + IOUring BlockDeviceAIO = "io_uring" ) const (