]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commit
x86emul: VME and PVI modes require a #GP(0) check first thing
authorJan Beulich <jbeulich@suse.com>
Mon, 5 Nov 2018 10:13:59 +0000 (11:13 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 5 Nov 2018 10:13:59 +0000 (11:13 +0100)
commitefe9cba66c036c452cc2ed7220984aa11be8dcb5
tree2f828b7ea35d52dfbc855f1ba42cdda18378c4be
parent9f7c1e765d04c277ee762b41bf7d4ae469f9b9fb
x86emul: VME and PVI modes require a #GP(0) check first thing

As explicitly spelled out by the SDM, EFLAGS.VIF and EFLAGS.VIP both set
at the start of an instruction trigger #GP(0) independent of actual
instruction.

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