libx86: Introduce a helper to serialise msr_policy objects
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 21 Jun 2018 14:35:50 +0000 (16:35 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 6 Nov 2018 17:51:18 +0000 (17:51 +0000)
commit4874a4db383645ce9f90f56212d679ee0522e5c1
tree45abee38b63c2343255b6c816c1d03fa52bec5f0
parent43a9573a8ed7c32f019aa7251c26f9be03770a94
libx86: Introduce a helper to serialise msr_policy objects

As with CPUID, an architectural form is used for representing the MSR data.
It is expected not to change moving forwards, but does have a 32 bit field
(currently reserved) which can be used compatibly if needs be.

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