libx86: Introduce lib/x86/msr.h and share msr_policy with userspace
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Jun 2018 13:05:52 +0000 (13:05 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 19 Jul 2018 18:31:31 +0000 (19:31 +0100)
commit2e2bd5a29e481d0e7f163a19d663d959e09550fd
treec87ddb3a7b71d84fdc0260b3597c5eb9d6b36310
parentfea2fab9635613d5be83482da5d79160ef928941
libx86: Introduce lib/x86/msr.h and share msr_policy with userspace

To facilitate the shared Xen and toolstack code in libx86, struct msr_policy
needs to be available in the same way as struct cpuid_policy.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/libxc/xc_cpuid_x86.c
xen/include/asm-x86/msr.h
xen/include/xen/lib/x86/msr.h [new file with mode: 0644]