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

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

 



On 07/12/2010 08:10 AM, Xiao Guangrong wrote:

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 :-)

Actually, I think this matches current code. So I'll change it in a separate patch.

--
error compiling committee.c: too many arguments to function

--
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