libs/guest: introduce a helper to apply a cpu policy to a domain
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 17 Mar 2021 14:30:57 +0000 (15:30 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 29 Apr 2021 18:27:21 +0000 (19:27 +0100)
commit98e67163655a896855fdff1f894b355e57acef2d
tree355088a42b0f1b46dec9aadf8ea879cf69a53412
parent29736eaeae545b37e4fd97a4077de681920d57a0
libs/guest: introduce a helper to apply a cpu policy to a domain

Such helper is very similar to the existing xc_set_domain_cpu_policy
interface, but takes an opaque xc_cpu_policy_t instead of arrays of
CPUID leaves and MSRs.

No callers of the interface introduced in 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