slavkap commented on PR #6399:
URL: https://github.com/apache/cloudstack/pull/6399#issuecomment-1131652031
Hi all, we could try by parsing the stderr (but I know it's ugly) and
enable/disable according to the output:
Ubuntu
```
sudo /usr/bin/qemu-system-x86_64 -drive aio=io_uring
qemu-system-x86_64: Device needs media, but drive is empty
```
Rocky
```
/usr/libexec/qemu-kvm -drive aio=io_uring
qemu-kvm: -drive aio=io_uring: invalid aio option
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]