>>> On 15.12.16 at 18:10, <andrew.coop...@citrix.com> wrote: > %ss, %fs and %gs can be calculated by directly masking the opcode. %es and > %ds cant, but the calculation isn't hard. > > Use seg rather than dst.val for storing the calculated segment, which is > appropriately typed. Drop the sel local variable entirely and use dst.val > instead. The mode_64bit() check can be repositioned and simplified to drop > the ext check. Replace opencoding of X86EMUL_OKAY. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel