Re: [PATCH v2 09/10] target/i386: implement 32-bit SYSENTER for linux-user

2023-06-20 Thread Paolo Bonzini
On Tue, Jun 20, 2023 at 6:23 PM Richard Henderson wrote: > > On 6/20/23 17:16, Paolo Bonzini wrote: > > TCG reports the SEP feature (SYSENTER/SYSEXIT) in user mode emulation, > > but does not plumb it into the linux-user run loop. Split the helper into > > system emulation and user-mode emulation

Re: [PATCH v2 09/10] target/i386: implement 32-bit SYSENTER for linux-user

2023-06-20 Thread Richard Henderson
On 6/20/23 17:16, Paolo Bonzini wrote: TCG reports the SEP feature (SYSENTER/SYSEXIT) in user mode emulation, but does not plumb it into the linux-user run loop. Split the helper into system emulation and user-mode emulation cases and implement the latter. SYSENTER does not have the best design