[Bug 1884719] Re: Function not implemented when using libaio

2021-05-06 Thread Thomas Huth
Bug has been re-opened here: https://gitlab.com/qemu-project/qemu/-/issues/210 Thanks for copying it over, Martin! ** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #210 https://gitlab.com/qemu-project/qemu/-/issues/210 ** Changed in: qemu Status: Incomplete => Invalid -- You

[Bug 1884719] Re: Function not implemented when using libaio

2021-05-06 Thread Thomas Huth
The QEMU project is currently moving its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If the bug has already been fixed in the latest upstream version of QEMU, then please

[Bug 1884719] Re: Function not implemented when using libaio

2020-08-24 Thread Laurent Vivier
The code in my branch has two problems: - it doesn't work if the host is 64bit and the target 32bit (because the context id returned by the host is in fact a virtual address and the data type is long, so the context_id (host long) doesn't fit in target context_id (target long). - I played with so

[Bug 1884719] Re: Function not implemented when using libaio

2020-08-24 Thread Martin Grigorov
Hey Laurent! I know it is the summer holidays season! I just wanted to ask you whether I should test your branch or you have more planned work ? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1884719

[Bug 1884719] Re: Function not implemented when using libaio

2020-07-15 Thread Martin Grigorov
Thank you for working on this, Laurent! Just let me know and I will test your changes! -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1884719 Title: Function not implemented when using libaio Statu

[Bug 1884719] Re: Function not implemented when using libaio

2020-07-15 Thread Laurent Vivier
Martin, after a first look, I can see that asynchronicity introduces more complexity in QEMU than usual ... I'm going to try to write the patches. I will ask you some help to test them. I've already implemented io_setup and io_destroy, but io_submit introduces more complexity because we can only

[Bug 1884719] Re: Function not implemented when using libaio

2020-07-14 Thread Martin Grigorov
Laurent, I am not familiar with the internals of QEMU but if you point me to the source code of similar functionality I could try! Thanks! -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1884719 Titl

[Bug 1884719] Re: Function not implemented when using libaio

2020-07-13 Thread Laurent Vivier
Martin, do you want to propose some patches to fix the problem? Thanks -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1884719 Title: Function not implemented when using libaio Status in QEMU: N

[Bug 1884719] Re: Function not implemented when using libaio

2020-07-13 Thread Martin Grigorov
Could I help somehow to resolve this issue ? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1884719 Title: Function not implemented when using libaio Status in QEMU: New Bug description: Hello

[Bug 1884719] Re: Function not implemented when using libaio

2020-06-29 Thread Martin Grigorov
Executing `QEMU_STRACE= ./out` here gives: 259 brk(NULL) = 0x00421000 259 uname(0x40008003d8) = 0 259 faccessat(AT_FDCWD,"/etc/ld.so.preload",R_OK,AT_SYMLINK_NOFOLLOW|0x50) = -1 errno=2 (No such file or directory) 259 openat(AT_FDCWD,"/etc/ld.so.cache",O_RDONLY|O_CLOEXEC) = 3 259 fstat(3

[Bug 1884719] Re: Function not implemented when using libaio

2020-06-29 Thread Laurent Vivier
The not-implemented syscalls are: ... 276 io_setup(10,274877981280,33,274877981296,274877981280,274877981184) = -1 errno=38 (Function not implemented) 276 io_destroy(0,274877981280,33,274877981296,274877981280,274877981184) = -1 errno=38 (Function not implemented) ... -- You received this bug

[Bug 1884719] Re: Function not implemented when using libaio

2020-06-29 Thread Laurent Vivier
ptrace() is not implemented, it's why we use gdb server rather than gdb and we use QEMU_STRACE variable rather than strace command. You can test it works with: QEMU_STRACE= bash -c "echo Test" Could you try to execute your test program with it: QEMU_STRACE= ./out -- You received this bug