Note that the value in this enum directly represents the value passed to
QEMU, so we need to use the underscore.

Signed-off-by: Stefan Reiter <s.rei...@proxmox.com>
---

same as v1, par the commit message

 PVE/QemuServer/Drive.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer/Drive.pm b/PVE/QemuServer/Drive.pm
index 146a4ab..82a6bfe 100644
--- a/PVE/QemuServer/Drive.pm
+++ b/PVE/QemuServer/Drive.pm
@@ -116,7 +116,7 @@ my %drivedesc_base = (
     },
     aio => {
        type => 'string',
-       enum => [qw(native threads)],
+       enum => [qw(native threads io_uring)],
        description => 'AIO type to use.',
        optional => 1,
     },
-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to