[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bf754b55-90f2-8055-468f-a2b9b76b4d02@redhat.com>
Date: Thu, 30 Sep 2021 18:45:27 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Sean Christopherson <seanjc@...gle.com>
Cc: Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org,
syzbot+f3985126b746b3d59c9d@...kaller.appspotmail.com,
Alexander Potapenko <glider@...gle.com>
Subject: Re: [PATCH 2/2] KVM: x86: Manually retrieve CPUID.0x1 when getting
FMS for RESET/INIT
On 30/09/21 17:11, Sean Christopherson wrote:
>>
>> But, perhaps adding kvm_find_cpuid_entry_index and removing the last
>> parameter from kvm_find_cpuid_entry would be a good idea.
> I like this idea, but only if callers are forced to specify the index when the
> index is significant, e.g. add a magic CPUID_INDEX_DONT_CARE and WARN in
> cpuid_entry2_find() if index is significant and index == DONT_CARE.
Yeah, or it can just be that kvm_find_cpuid_entry passes -1 which acts
as the magic value.
> I'll fiddle with this, unless you want the honors?
Not really. :) Thanks,
Paolo
Powered by blists - more mailing lists