tools: switch existing users of xc_get_{system,domain}_cpu_policy
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 22 Mar 2021 10:59:04 +0000 (11:59 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 29 Apr 2021 18:27:21 +0000 (19:27 +0100)
commit29736eaeae545b37e4fd97a4077de681920d57a0
treea8546507841641f8de8c79c163a58fbe36afdbec
parentde75c946cfd3d65b4511c970f14e331a54544b12
tools: switch existing users of xc_get_{system,domain}_cpu_policy

With the introduction of xc_cpu_policy_get_{system,domain} and
xc_cpu_policy_serialise the current users of
xc_get_{system,domain}_cpu_policy can be switched to the new
interface.

Note that xc_get_{system,domain}_cpu_policy is removed from the public
interface and the functions are made static, since there are still
internal consumers in xg_cpuid_x86.c

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
tools/libs/guest/xg_sr_common_x86.c
tools/misc/xen-cpuid.c