x86emul: add wrappers to check for AMD-like behavior
authorJan Beulich <jbeulich@suse.com>
Thu, 26 Mar 2020 11:27:36 +0000 (12:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 26 Mar 2020 11:27:36 +0000 (12:27 +0100)
commitd3ca802a1cbe64349d77bcc2e40167172e777151
tree2447f6d24652d39e6c72c261e49e34729d16f4b6
parent55d035f8e9e53903c72182059422377612b84169
x86emul: add wrappers to check for AMD-like behavior

These are to aid readbility at their use sites, in particular because
we're going to gain more of them.

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