All of lore.kernel.org
 help / color / mirror / Atom feed
* confusion about kvm_mmu_pte_write
@ 2010-08-24  8:16 cs-jerry**
  2010-08-24  9:54 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: cs-jerry** @ 2010-08-24  8:16 UTC (permalink / raw)
  To: kvm

hello all,
i am reading kvm code and confused about the mmu_pte_write process,
when update a gpte, function kvm_mmu_pte_write is called , and walk the shadow page for it.why condition is :
if (sp->gfn != gfn || sp->role.direct || sp->role.invalid)
   continue;
and not update those sp->gfn == gfn && sp->role.direct,what does it mean when role.direct is clear?
thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-24  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-24  8:16 confusion about kvm_mmu_pte_write cs-jerry**
2010-08-24  9:54 ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.