[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1893010] Re: qemu linux-user doesn't support OFD fcntl locks
From: |
Mike Gelfand |
Subject: |
[Bug 1893010] Re: qemu linux-user doesn't support OFD fcntl locks |
Date: |
Sun, 30 Aug 2020 09:24:26 -0000 |
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:
qemu linux-user doesn't support OFD fcntl locks
Status in QEMU:
New
Bug description:
"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 x86_64.
Looking at linux-user/syscall.c, I'm guessing the issue is in (at
least) `target_to_host_fcntl_cmd` where switch reaches the default
clause as there're no cases for F_OFD_SETLK / F_OFD_SETLKW /
F_OFD_GETLK.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1893010/+subscriptions
- [Bug 1893010] [NEW] qemu linux-user doesn't support OFD fcntl locks, Mike Gelfand, 2020/08/26
- [Bug 1893010] Re: qemu linux-user doesn't support OFD fcntl locks, Mike Gelfand, 2020/08/26
- [Bug 1893010] Re: qemu linux-user doesn't support OFD fcntl locks, Mike Gelfand, 2020/08/27
- [Bug 1893010] Re: qemu linux-user doesn't support OFD fcntl locks, Mike Gelfand, 2020/08/27
- [Bug 1893010] Re: qemu linux-user doesn't support OFD fcntl locks, Laurent Vivier, 2020/08/29
- [Bug 1893010] Re: qemu linux-user doesn't support OFD fcntl locks,
Mike Gelfand <=
- [Bug 1893010] Re: qemu linux-user doesn't support OFD fcntl locks, Thomas Huth, 2020/08/31