On 02.07.2021 21:03, Andrew Cooper wrote:
> 0x1c is lower than any value which will actually be observed in
> p->extd.max_leaf, but higher than the logical 9 leaves worth of extended data
> on Intel systems, causing x86_cpuid_copy_to_buffer() to fail with -ENOBUFS.
> 
> Correct the calculation.
> 
> The problem was first noticed in c/s 34990446ca9 "libxl: don't ignore the
> return value from xc_cpuid_apply_policy" but introduced earlier.
> 
> Fixes: 34990446ca91 ("libxl: don't ignore the return value from 
> xc_cpuid_apply_policy")
> Reported-by: Olaf Hering <[email protected]>
> Signed-off-by: Andrew Cooper <[email protected]>

Reviewed-by: Jan Beulich <[email protected]>
perhaps with, as suggested by Olaf, the Fixes: line changed.

Jan


Reply via email to