libs/guest: introduce helper to check cpu policy compatibility
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 17 Mar 2021 16:09:45 +0000 (17:09 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 4 May 2021 17:37:30 +0000 (18:37 +0100)
commit398ff4725b7b4804a3b8f5ee376f3d95d4bd32cd
tree8b4a3d743105e791eda59537b1e440823db7f2a0
parent989cf2db33f0c65d118667410be6c6ce604741d7
libs/guest: introduce helper to check cpu policy compatibility

Such helpers is just a wrapper to the existing
x86_cpu_policies_are_compatible function. This requires building
policy.c from libx86 on user land also.

No user of the interface introduced.

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/Makefile
tools/libs/guest/xg_cpuid_x86.c