x86: always supply .cpuid() handler to x86_emulate()
authorJan Beulich <jbeulich@suse.com>
Fri, 11 Nov 2016 16:19:12 +0000 (17:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 11 Nov 2016 16:19:12 +0000 (17:19 +0100)
commit043ad80d4fad75651e825ef3f935be52f2d6fda0
treebd736e0e079dfbd598695aaff62a4ab909d5c833
parent9fdffbbab3ada427bac07076f042f0265e5ae05f
x86: always supply .cpuid() handler to x86_emulate()

With us incremementally adding proper CPUID checks to x86_emulate()
(see commit de05bd965a ["x86emul: correct {,F}CMOV and F{,U}COMI{,P}
emulation"]) it is no longer appropriate to invoke the function with
that hook being NULL, as long as respective instructions may get used
in that case.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/mm.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/traps.c
xen/include/asm-x86/hvm/emulate.h
xen/include/asm-x86/mm.h