OSDN Git Service

KVM: MMU: introduce SPTE_MMU_WRITEABLE bit
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Wed, 20 Jun 2012 07:58:58 +0000 (15:58 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 11 Jul 2012 13:51:19 +0000 (16:51 +0300)
commit49fde3406f3266c5af9430467672c20b63a31e83
tree74da453686c6c7a1ca81c5d95d6fcaa882dc2217
parent6e7d035407dc402a313e466c4f7ccb21aaed0da2
KVM: MMU: introduce SPTE_MMU_WRITEABLE bit

This bit indicates whether the spte can be writable on MMU, that means
the corresponding gpte is writable and the corresponding gfn is not
protected by shadow page protection

In the later path, SPTE_MMU_WRITEABLE will indicates whether the spte
can be locklessly updated

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c