Re: [PATCH 6/7] KVM: MMU: Simplify spte fetch() function

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

 




Avi Kivity wrote:

>> -            }
>> +        validate_direct_spte(vcpu, sptep, direct_access);
>> +
>> +        direct_gfn = gw->gfn&  ~(KVM_PAGES_PER_HPAGE(level) - 1);
>>
>> +        sp = kvm_mmu_get_page(vcpu, direct_gfn, addr, level-1,
>> +                      true, direct_access, sptep);
>>           link_shadow_page(sptep, sp);
>>       }
>>
>>    
> 
> validate_direct_spte() should be before the 'continue' above, probably.
> 

Sure :-)
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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