lkml.org 
[lkml]   [2022]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 2/2] KVM: x86: Forbid KVM_SET_CPUID{,2} after KVM_RUN
    Date
    Paolo Bonzini <pbonzini@redhat.com> writes:

    > On 1/3/22 13:56, Vitaly Kuznetsov wrote:
    >> 'allowlist' of things which can change (and put
    >> *APICids there) and only fail KVM_SET_CPUID{,2} when we see something
    >> else changing.
    >
    > We could also go the other way and only deny changes that result in
    > changed CPU caps. That should be easier to implement since we have
    > already a mapping from CPU capability words to CPUID leaves and registers.
    >

    Good idea, I'll look into it (if noone beats me to it).

    --
    Vitaly

    \
     
     \ /
      Last update: 2022-01-05 11:11    [W:2.272 / U:0.324 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site