Re: [Qemu-devel] [PATCH 2/9] linux-user: Add is_write segfault check for ARM hosts

2013-07-06 Thread Peter Maydell
On 6 July 2013 01:36, Alexander Graf ag...@suse.de wrote: When we get a segmentation fault we check whether the fault was a write. If it was a write, it might be a fault because we tried to modify a code region. This logic does not work on ARM hosts, because they don't evaluate whether a

Re: [Qemu-devel] [PATCH 2/9] linux-user: Add is_write segfault check for ARM hosts

2013-07-06 Thread Alexander Graf
On 06.07.2013, at 12:24, Peter Maydell wrote: On 6 July 2013 01:36, Alexander Graf ag...@suse.de wrote: When we get a segmentation fault we check whether the fault was a write. If it was a write, it might be a fault because we tried to modify a code region. This logic does not work on ARM

[Qemu-devel] [PATCH 2/9] linux-user: Add is_write segfault check for ARM hosts

2013-07-05 Thread Alexander Graf
When we get a segmentation fault we check whether the fault was a write. If it was a write, it might be a fault because we tried to modify a code region. This logic does not work on ARM hosts, because they don't evaluate whether a segementation fault is due to a write. Instead they always declare