Re: [PATCH] cpu: Check blockers in virCPUCompareUnusable only if they exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 27, 2024 at 08:38:41 +0100, Jiri Denemark wrote:
> virCPUCompareUnusable can be called with blockers == NULL in case the
> CPU model itself is usable (i.e., QEMU reports an empty list of
> blockers), but the CPU definition contains some additional features
> which have to be checked.
> 
> Fixes: v10.8.0-129-g5f8abbb7d0
> Reported-by: Han Han <hhan@xxxxxxxxxx>
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/cpu/cpu.c | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux