Re: [Qemu-devel] [PATCH v3 12/19] linux-user: Setup split syscall infrastructure

2018-08-12 Thread Richard Henderson
On 08/12/2018 01:45 PM, Laurent Vivier wrote: > Le 12/06/2018 à 02:51, Richard Henderson a écrit : >> Defines a unified structure for implementation and strace. >> Supplies a generator script to build the declarations and >> the lookup function. >> >> Signed-off-by: Richard Henderson >> --- >> li

Re: [Qemu-devel] [PATCH v3 12/19] linux-user: Setup split syscall infrastructure

2018-08-12 Thread Laurent Vivier
Le 12/06/2018 à 02:51, Richard Henderson a écrit : > Defines a unified structure for implementation and strace. > Supplies a generator script to build the declarations and > the lookup function. > > Signed-off-by: Richard Henderson > --- > linux-user/syscall.h | 178 +++ >

Re: [Qemu-devel] [PATCH v3 12/19] linux-user: Setup split syscall infrastructure

2018-06-22 Thread Richard Henderson
On 06/22/2018 03:30 AM, Peter Maydell wrote: >> +struct SyscallDef { >> +const char *name; >> +SyscallArgsFn *args; >> +SyscallImplFn *impl; >> +SyscallPrintFn *print; >> +SyscallPrintRetFn *print_ret; > > Are all these hook functions mandatory, or can a syscall > implementatio

Re: [Qemu-devel] [PATCH v3 12/19] linux-user: Setup split syscall infrastructure

2018-06-22 Thread Peter Maydell
On 12 June 2018 at 01:51, Richard Henderson wrote: > Defines a unified structure for implementation and strace. > Supplies a generator script to build the declarations and > the lookup function. > > Signed-off-by: Richard Henderson > --- > linux-user/syscall.h | 178 +++ >

[Qemu-devel] [PATCH v3 12/19] linux-user: Setup split syscall infrastructure

2018-06-11 Thread Richard Henderson
Defines a unified structure for implementation and strace. Supplies a generator script to build the declarations and the lookup function. Signed-off-by: Richard Henderson --- linux-user/syscall.h | 178 +++ linux-user/strace.c| 386 --