x86/cpuid: Disallow policy updates once the domain is running
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 17 Feb 2017 15:47:31 +0000 (15:47 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 27 Feb 2017 10:07:53 +0000 (10:07 +0000)
commit3d0cab7b5d97e522f3dd89ef2935898ee3aaeea8
treeef629ceed49dcf1ddfc572ca05116bdd5285be64
parent1f24be6c945c8f8e25547aed4a56c092133df713
x86/cpuid: Disallow policy updates once the domain is running

On real hardware, the bulk of CPUID data is system-specific and constant.
Hold the toolstack to the same behaviour when constructing domains.

Values which are expected to change dynamically (e.g. OSXSAVE) are unaffected
and continue to function as before.

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