Re: [kvm:queue 276/278] arch/x86/kvm/svm/nested.c:88:49: error: invalid type argument of '->' (have 'struct kvm_x86_ops')

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27/03/20 02:40, Sean Christopherson wrote:
> On Fri, Mar 27, 2020 at 08:29:47AM +0800, kbuild test robot wrote:
>> tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
>>    arch/x86/kvm/svm/nested.c: In function 'nested_svm_init_mmu_context':
>>>> arch/x86/kvm/svm/nested.c:88:49: error: invalid type argument of '->' (have 'struct kvm_x86_ops')
>>      vcpu->arch.mmu->shadow_root_level = kvm_x86_ops->get_tdp_level(vcpu);
>>                                                     ^~
>>
>> vim +88 arch/x86/kvm/svm/nested.c
>>
>>     78	
>>     79	static void nested_svm_init_mmu_context(struct kvm_vcpu *vcpu)
>>     80	{
>>     81		WARN_ON(mmu_is_nested(vcpu));
>>     82	
>>     83		vcpu->arch.mmu = &vcpu->arch.guest_mmu;
>>     84		kvm_init_shadow_mmu(vcpu);
>>     85		vcpu->arch.mmu->get_guest_pgd     = nested_svm_get_tdp_cr3;
>>     86		vcpu->arch.mmu->get_pdptr         = nested_svm_get_tdp_pdptr;
>>     87		vcpu->arch.mmu->inject_page_fault = nested_svm_inject_npf_exit;
>>   > 88		vcpu->arch.mmu->shadow_root_level = kvm_x86_ops->get_tdp_level(vcpu);
> 
> Tip of the iceberg.  kvm.git/queue is totally busted, the last two commits
> remove code from svm.c but don't create the new files.

Yes, totally.  I wanted to push before the split and messed up.

Paolo




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux