qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 00/17] RFC: userfault v2


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 00/17] RFC: userfault v2
Date: Wed, 29 Oct 2014 17:56:59 +0000

On 29 October 2014 17:46, Andrea Arcangeli <address@hidden> wrote:
> After some chat during the KVMForum I've been already thinking it
> could be beneficial for some usage to give userland the information
> about the fault being read or write

...I wonder if that would let us replace the current nasty
mess we use in linux-user to detect read vs write faults
(which uses a bunch of architecture-specific hacks including
in some cases "look at the insn that triggered this SEGV and
decode it to see if it was a load or a store"; see the
various cpu_signal_handler() implementations in user-exec.c).

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]