On Fri, Apr 30, 2021 at 05:52:11PM +0200, Roger Pau Monne wrote: > Move the logic from xc_cpu_policy_apply_cpuid into libxl, now that the > xc_cpu_policy_* helpers allow modifying a cpu policy. By moving such > parsing into libxl directly we can get rid of xc_xend_cpuid, as libxl > will now implement it's own private type for storing CPUID > information, which currently matches xc_xend_cpuid. > > Note the function logic is moved as-is, but requires adapting to the > libxl coding style. > > No functional change intended. > > Signed-off-by: Roger Pau Monné <roger....@citrix.com> > --- > Changes since v2: > - Use LOG*D. > - Pass a gc to apply_policy. > - Use 'r' for libxc return values. > ---
Reviewed-by: Anthony PERARD <anthony.per...@citrix.com> Thanks, -- Anthony PERARD