-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function not implemented when using libaio #114
Comments
I've tried to
Here are the steps to reproduce the problem with strace:
Disabling security solves the "Permission denied" problem but then comes the "Not implemented" one. |
@martin-g, this seems to be a missing feature upstream. I suggest to open a report in https://bugs.launchpad.net/qemu. |
Thanks for the response, @umarcor ! One question before I do that: |
/kind question
Function not implemented
when trying to use Linux libaio in foreign architecture.Steps to reproduce the issue:
On x86_64 machine register QEMU:
docker run -it --rm --privileged multiarch/qemu-user-static --reset --credential yes --persistent yes
Start a Docker image with foreign CPU architecture, e.g. aarch64
docker run -it arm64v8/centos:8 bash
Install GCC and libaio
yum install gcc libaio libaio-devel
Compile the following C program
When executed on aarch64 machine or on x86_64 Docker image (e.g.
centos:8
) it printsres is: 0
, i.e. it successfully initialized a LibAIO queue.But when executed on Docker image with foreign/emulated CPU architecture it prints
res is: -38
(ENOSYS).man io_queue_init
says that error ENOSYS is returned when "Not implemented."Environment:
multiarch/qemu-user-static
Docker imageOutput of
docker version
Additional information optionally:
Same happens with Ubuntu (arm64v8/ubuntu:focal).
Any idea what could be the problem ?
I've googled a lot but I wasn't able to find any problems related to libaio on QEMU.
Thank you!
The text was updated successfully, but these errors were encountered: