Re: [PATCH 2/5] KVM: cpuid: extract do_cpuid_7_mask and support multiple subleafs

From: Jing Liu
Date: Wed Jul 10 2019 - 03:32:38 EST




On 7/10/2019 2:30 PM, Paolo Bonzini wrote:
On 08/07/19 09:07, Jing Liu wrote:

And when adding subleaf 1, plan to add codes,

case 1:
ÂÂÂÂentry->eax |= kvm_cpuid_7_1_eax_x86_features;
ÂÂÂÂentry->ebx = entry->ecx = entry->edx =0;
ÂÂÂÂbreak;

What do you think?

This should be "&=", not "|=". Otherwise yes, that's the idea.


Yes! So let me send out the BFloat16 patch based on your patch set now
or you have merge plan soon?

Thanks,
Jing

Paolo