Skip to content
  1. Sep 20, 2012
    • Avi Kivity's avatar
      KVM: MMU: Push clean gpte write protection out of gpte_access() · 8ea667f2
      Avi Kivity authored
      
      
      gpte_access() computes the access permissions of a guest pte and also
      write-protects clean gptes.  This is wrong when we are servicing a
      write fault (since we'll be setting the dirty bit momentarily) but
      correct when instantiating a speculative spte, or when servicing a
      read fault (since we'll want to trap a following write in order to
      set the dirty bit).
      
      It doesn't seem to hurt in practice, but in order to make the code
      readable, push the write protection out of gpte_access() and into
      a new protect_clean_gpte() which is called explicitly when needed.
      
      Reviewed-by: default avatarXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
      8ea667f2
  2. Sep 18, 2012
  3. Sep 17, 2012
  4. Sep 13, 2012
  5. Sep 10, 2012
  6. Sep 09, 2012
  7. Sep 06, 2012
  8. Sep 05, 2012
  9. Sep 04, 2012
  10. Aug 31, 2012
  11. Aug 28, 2012