[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation |
Date: |
Fri, 28 Feb 2014 14:49:58 +0000 |
On 28 February 2014 14:27, Alexander Graf <address@hidden> wrote:
> Could we check the instruction at the sognaling pc and check
> if it's a known syscall instruction? No need to replace glibc
> wrappers then.
No, because the behaviour we want for "started handling
syscall in qemu" through to "PC anything up to but not
including the syscall insn" is "back out and take signal
then try again", which means we need to be able to unwind
anything we were doing. If we (effectively) longjmp out of
the middle of glibc we're liable to leave locked mutexes
and otherwise mess up glibc internals. Also we need to be
able to distinguish "not got to syscall insn yet" from
"after syscall insn", which isn't possible to determine
if all you have is "PC is inside glibc but not actually
at the syscall insn".
There really aren't all that many interruptible syscalls,
though, so we can probably live with handrolling those.
thanks
-- PMM
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, (continued)
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Dann Frazier, 2014/02/24
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Alex Bennée, 2014/02/25
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Andreas Färber, 2014/02/25
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Michael Matz, 2014/02/25
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Peter Maydell, 2014/02/25
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Michael Matz, 2014/02/25
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Alex Bennée, 2014/02/28
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Peter Maydell, 2014/02/28
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Alexander Graf, 2014/02/28
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation,
Peter Maydell <=
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Alex Bennée, 2014/02/28
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Peter Maydell, 2014/02/28
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Dann Frazier, 2014/02/26
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Michael Matz, 2014/02/27
- Re: [Qemu-devel] Call for testing QEMU aarch64-linux-user emulation, Dann Frazier, 2014/02/27