[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/5] x86emul: consolidate segment register handling
On 08/09/16 14:43, Jan Beulich wrote: > @@ -2861,21 +2860,20 @@ x86_emulate( > dst.val = src.val; > break; > > - case 0x8c: /* mov Sreg,r/m */ { > - struct segment_register reg; > - enum x86_segment seg = decode_segment(modrm_reg); > + case 0x8c: /* mov Sreg,r/m */ > + seg = decode_segment(modrm_reg); > generate_exception_if(seg == decode_segment_failed, EXC_UD, -1); > + store_seg: store_seg is easy to confuse with load_seg. How about read_selector instead? It also occurs to me that you might have an easier time with both this patch and patch 1 if you reversed their order. Either way, Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |