Public bug reported:
When using iovec I/O functions (like `readv`), no data translation
happens. I'm hitting this issue with libevent upon constructing a
bufferevent over an inotify descriptor, and then building for either
ppc64 or s390x (both big-endian) on x86_64 (little-endian) and running
resu
Public bug reported:
"Open file description locks (non-POSIX)", as they are described in
fcntl(2) man page, aren't supported by qemu-user and attempting to use
those results in EINVAL. I'm on Gentoo with latest QEMU version
currently available (5.0.0-r2), and trying to emulate ppc64 and s390x on
** Summary changed:
- qemu-user doesn't support OFD fcntl locks
+ qemu linux-user doesn't support OFD fcntl locks
** Tags added: linux-user
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1893010
Tit
** Summary changed:
- qemu-user doesn't translate host/target data for iovec I/O
+ qemu linux-user doesn't translate host/target data for iovec I/O
** Tags added: linux-user
** Tags added: ppc s390x
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subs
The attached patch fixes the issue for me.
** Patch added: "qemu-5.0.0-ofd-fcntl.patch"
https://bugs.launchpad.net/qemu/+bug/1893010/+attachment/5405131/+files/qemu-5.0.0-ofd-fcntl.patch
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to
The attached patch fixes the issue for me, but is incomplete (and not
thoroughly tested) as I've only implemented inotify data translation for
readv syscall.
** Patch added: "qemu-5.0.0-inotify-readv.patch"
https://bugs.launchpad.net/qemu/+bug/1893003/+attachment/5405134/+files/qemu-5.0.0-inot
New patch version: fix target_to_host_fcntl_cmd mapping, avoid do_fcntl
code duplication.
** Patch added: "qemu-5.0.0-ofd-fcntl-2.patch"
https://bugs.launchpad.net/qemu/+bug/1893010/+attachment/5405156/+files/qemu-5.0.0-ofd-fcntl-2.patch
--
You received this bug notification because you are
Signed-off-by: Mike Gelfand
---
linux-user/strace.c | 12
1 file changed, 12 insertions(+)
diff --git a/linux-user/strace.c b/linux-user/strace.c
index 4f77b0cf76..11fea14fba 100644
--- a/linux-user/strace.c
+++ b/linux-user/strace.c
@@ -2056,6 +2056,18 @@ print_fcntl(void *cpu_env
Thanks, the changes in 5.1.0 seem to work indeed.
> perhaps you can send a patch to the qemu-devel ML to add the strace
part
Done.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1893010
Title:
qem