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

* Re: confusion about kvm_mmu_pte_write
  2010-08-24  8:16 confusion about kvm_mmu_pte_write cs-jerry**
@ 2010-08-24  9:54 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2010-08-24  9:54 UTC (permalink / raw)
  To: cs-jerry**; +Cc: kvm

  On 08/24/2010 11:16 AM, cs-jerry** wrote:
> 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.N‹§²æìr¸›yúèšØb²X¬¶Ç§vØ^–)Þº{.nÇ+‰·¤¾h§¶\x17›¡Ü¨}©ž²Æ zÚ&j:+v‰¨¾\a«‘êçzZ+€Ê+zf£¢·hšˆ§~†­†Ûiÿûàz¹\x1e®w¥¢¸?™¨è­Ú&¢)ߢ^[fl===

Please fix you mail client not to send corrupted emails. Also, read 
Documentation/kvm/mmu.txt.

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


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