Re: [Xen-devel] [PATCH v2 2/4] x86emul: consolidate segment register handling

2016-09-30 Thread Andrew Cooper
On 30/09/16 14:16, Jan Beulich wrote: > Use a single set of variables throughout the huge switch() statement, > allowing to funnel SLDT/STR into the mov-from-sreg code path. > > Signed-off-by: Jan Beulich > Reviewed-by: Andrew Cooper Also looking better. ~Andrew ___

[Xen-devel] [PATCH v2 2/4] x86emul: consolidate segment register handling

2016-09-30 Thread Jan Beulich
Use a single set of variables throughout the huge switch() statement, allowing to funnel SLDT/STR into the mov-from-sreg code path. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- v2: s/store_seg/store_selector/g. Re-base. --- a/xen/arch/x86/x86_emulate/x86_emulate.c +++ b/xen/arch/x8