about page fault
hi all,
i am reading code about processiong page fault with some confusion. so i come here for help.
1, function walk_addr() walks the guest page tables ,then it calls kvm_mmu_pte_write ,what does it presents?
2,which codes are responsible for spte write protection?
3, i want to stop from guest writing to a specified guest memory, so i set write protection with corresponding spte,but writing to another memory with the same guest page is permmited. how to implement it ? do i need to extend the process of handler the page fault?
thanks very much.