]> xenbits.xensource.com Git - xen.git/commit
x86: Merge struct msr_policy into struct cpu_policy
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Mar 2023 20:24:20 +0000 (21:24 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 3 Aug 2023 18:14:19 +0000 (19:14 +0100)
commit63e4aa3d3b56d57f6d3d3a86d593f60e79e8a1ff
tree726ccfc92b68e9e6143e6358ccd407622432ff80
parent2e54fb9fec5a73e3dd47801eff37f91c23e94b64
x86: Merge struct msr_policy into struct cpu_policy

As with the cpuid side, use a temporary define to make struct msr_policy still
work.

Note, this means that domains now have two separate struct cpu_policy
allocations with disjoint information, and system policies are in a similar
position, as well as xc_cpu_policy objects in libxenguest.  All of these
duplications will be addressed in the following patches.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 03812da3754d550dd8cbee7289469069ea6f0073)
tools/fuzz/cpu-policy/afl-policy-fuzzer.c
xen/include/asm-x86/msr.h
xen/include/xen/lib/x86/cpu-policy.h
xen/include/xen/lib/x86/msr.h [deleted file]
xen/lib/x86/msr.c