Re: [Xen-devel] [PATCH 3/5] x86emul: simplify IRET logic

2016-02-17 Thread Andrew Cooper
On 17/02/16 16:36, Jan Beulich wrote: > Since we only handle real mode, we need to consider neither non-ring0 > nor IOPL. Also for POPF the mode_iopl() check can really be inside the > not-ring-0 body. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper ___

[Xen-devel] [PATCH 3/5] x86emul: simplify IRET logic

2016-02-17 Thread Jan Beulich
Since we only handle real mode, we need to consider neither non-ring0 nor IOPL. Also for POPF the mode_iopl() check can really be inside the not-ring-0 body. Signed-off-by: Jan Beulich --- a/xen/arch/x86/x86_emulate/x86_emulate.c +++ b/xen/arch/x86/x86_emulate/x86_emulate.c @@ -2490,9 +2490,11 @