lkml.org 
[lkml]   [2020]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v3 3/8] KVM: X86: Introduce kvm_check_cpuid()
    From
    Date
    On 08/07/20 14:28, Xiaoyao Li wrote:
    >> @@ -202,12 +208,16 @@ int kvm_vcpu_ioctl_set_cpuid(struct kvm_vcpu *vcpu,
    >>           vcpu->arch.cpuid_entries[i].padding[2] = 0;
    >>       }
    >>       vcpu->arch.cpuid_nent = cpuid->nent;
    >> +    r = kvm_check_cpuid(vcpu);
    >> +    if (r) {
    >> +        vcpu->arch.cpuid_nent = 0;
    >
    > Paolo,
    >
    > here lack a kvfree(cpuid_entries);
    > Can you help fix it?
    >
    > Apologize for it.

    Actually I hadn't queued this patch; my mistake. You can fix it and resend.

    Paolo

    \
     
     \ /
      Last update: 2020-07-08 14:43    [W:5.442 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site