[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Bug 1035572] Re: Bug in Qemu User Mode
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [Bug 1035572] Re: Bug in Qemu User Mode |
Date: |
Tue, 14 Aug 2012 10:44:27 +0100 |
On 14 August 2012 02:01, Dietmar Stölting <address@hidden> wrote:
> with this new syscall.c content above things are going in the right
> direction:-).
> I make a test with strace from the program testthread of the Qemu testsuite.
> When I understand the result right,
> threading works now with this new compiled qemu-i386.
> The child and the parents tidptr NOW have the same number in one thread, and
> different but also same in other thread.
> This means for the not working program testclone: The functioncall with its
> sets of parameters is just wrong there.
> When you do a function call with those Flags as in testthread, threads can be
> builded with qemu-i386.
> So, the error is in the wrong calling of the function clone(). This can be
> corrected. Please tell me your thoughts,
Yes, as I said, we know that threading does not work for i386 targets
(it is also
broken in more subtle ways for other targets). This is not going to get fixed
until it is investigated by somebody who has the time and expertise with both
i386 architecture and QEMU internals to produce a coherent fix which addresses
all the problems in this area. (See also my remarks in comment #47 of bug
739785.)
I'm sorry if that sounds a bit negative, but there is a reason this bug has
been unfixed for over a year -- it's not a trivial one to fix, and it's
not easy to evaluate whether a small patch is a component of the complete
correct solution without investing the time to think about the problem as
a whole.
-- PMM
- [Qemu-devel] [PULL for-1.2 00/10] linux-user queue, Peter Maydell, 2012/08/14
- [Qemu-devel] [PATCH 01/10] linux-user: Fix incorrect TARGET_BLKBSZGET, TARGET_BLKBSZSET, Peter Maydell, 2012/08/14
- [Qemu-devel] [PATCH 10/10] linux-user: ARM: Ignore immediate value for svc in thumb mode, Peter Maydell, 2012/08/14
- [Qemu-devel] [PATCH 06/10] linux-user: make host_to_target_cmsg support SO_TIMESTAMP cmsg_type, Peter Maydell, 2012/08/14
- [Qemu-devel] [PATCH 09/10] linux-user: Use init_guest_space when -R and -B are specified, Peter Maydell, 2012/08/14
- [Qemu-devel] [PATCH 08/10] linux-user: Factor out guest space probing into a function, Peter Maydell, 2012/08/14
- [Qemu-devel] [PATCH 02/10] linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions, Peter Maydell, 2012/08/14
- [Qemu-devel] [PATCH 07/10] flatload: fix bss clearing, Peter Maydell, 2012/08/14
- [Qemu-devel] [PATCH 03/10] linux-user: Move target_to_host_errno_table[] setup out of ioctl loop, Peter Maydell, 2012/08/14
- [Qemu-devel] [PATCH 05/10] linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket option, Peter Maydell, 2012/08/14
- [Qemu-devel] [PATCH 04/10] linux-user: pass sockaddr from host to target, Peter Maydell, 2012/08/14