]> xenbits.xensource.com Git - xen.git/commit
x86emul: move ARPL #UD check
authorJan Beulich <jbeulich@suse.com>
Mon, 30 Sep 2019 13:45:16 +0000 (15:45 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 30 Sep 2019 13:45:16 +0000 (15:45 +0200)
commit7cc2fe0ddcc2dacbe0cbc86be1ee6b1cfac93cc6
tree15e52d4b0d4b2abf4a1de7a428391e9bc10c807a
parentd5b7d10cb49cf8fcf1104606fb27b80233bb98c1
x86emul: move ARPL #UD check

The #UD for being outside of protected mode gets raised for ARPL only
after having read the memory operand - correct this by moving up the
respective construct.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/x86_emulate/x86_emulate.c