KVM: MMU: rename 'pt_write' to 'emulate'
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 11 Jul 2011 19:25:56 +0000 (03:25 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Jul 2011 08:50:30 +0000 (11:50 +0300)
commitb90a0e6c81d7b1fef0b7dea007015e1a56ab14c7
tree933c4dd5b56ff6b74c2a9c66e37270332c7e6fe5
parentb36c7a7c10bf845b623ce187501b561d1d843a18
KVM: MMU: rename 'pt_write' to 'emulate'

If 'pt_write' is true, we need to emulate the fault. And in later patch, we
need to emulate the fault even though it is not a pt_write event, so rename
it to better fit the meaning

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h