x86: introduce and use a set of internal emulation flags
authorWei Liu <wei.liu2@citrix.com>
Tue, 4 Sep 2018 16:15:19 +0000 (17:15 +0100)
committerWei Liu <wei.liu2@citrix.com>
Thu, 6 Sep 2018 15:54:38 +0000 (16:54 +0100)
commit5d30a977d4a6969513d818fbe1aefbeabbbfff6a
treec76e73dbbf548b6054e006de9b2577917d6d38c7
parentc217412e9d4df1a8b10e0cbdae5c8a24d83f1cdd
x86: introduce and use a set of internal emulation flags

Use these flags in has_* tests and emulation_flags_ok.

Not using raw flags directly enables DCE to kick in for has_* tests,
while at the same time makes sure emulation_flags_ok won't go out of
sync.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domain.c
xen/include/asm-x86/domain.h