[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d3454d11-97fb-42f2-0a0c-add0456b076c@redhat.com>
Date: Wed, 10 Jul 2019 08:30:37 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Jing Liu <jing2.liu@...ux.intel.com>, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org
Subject: Re: [PATCH 2/5] KVM: cpuid: extract do_cpuid_7_mask and support
multiple subleafs
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.
Paolo
Powered by blists - more mailing lists