Re: [PATCH v1] KVM: x86: expose AVX512_BF16 feature to guest

From: Paolo Bonzini
Date: Mon Jul 15 2019 - 07:56:36 EST


On 15/07/19 13:05, Jing Liu wrote:
>>
>>
> Thanks for the information.
>
> This warning would be fixed by changing to
> entry->eax = min(entry->eax, (u32)1);
>
> @Paolo, sorry for trouble. Would you mind if I re-send?

No need, I can fix it myself (I'd also use 1u instead of the cast).

Paolo