libs/guest: allow updating a cpu policy MSR data
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 17 Mar 2021 15:59:37 +0000 (16:59 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 4 May 2021 17:36:17 +0000 (18:36 +0100)
commit989cf2db33f0c65d118667410be6c6ce604741d7
tree2a3dfbad5ada55103f529e8fa7de4944a45c1a80
parent2d09c97e58ea455242a3862c16e732592841ddde
libs/guest: allow updating a cpu policy MSR data

Introduce a helper to update the MSR policy using an array of
xen_msr_entry_t entries. Note the MSRs present in the input
xen_msr_entry_t array will replace any existing entries on the
policy.

No user of the interface introduced on this patch.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/include/xenctrl.h
tools/libs/guest/xg_cpuid_x86.c