diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2010-12-06 21:48:06 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 04:30:38 -0500 |
commit | 78b2c54aa4a7e9e4257d2b8e3a4b96d2d0c6e636 (patch) | |
tree | fc8148e162a63ae8478dcd144f42428ad7bae3f0 /arch/x86/include | |
parent | b53ba3f9cc0b5ac21a86a95c702768f871b02610 (diff) |
KVM: MMU: rename 'no_apf' to 'prefault'
It's the speculative path if 'no_apf = 1' and we will specially handle this
speculative path in the later patch, so 'prefault' is better to fit the sense.
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index d968cc501799..aa1518d794cc 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -241,7 +241,8 @@ struct kvm_mmu { | |||
241 | void (*new_cr3)(struct kvm_vcpu *vcpu); | 241 | void (*new_cr3)(struct kvm_vcpu *vcpu); |
242 | void (*set_cr3)(struct kvm_vcpu *vcpu, unsigned long root); | 242 | void (*set_cr3)(struct kvm_vcpu *vcpu, unsigned long root); |
243 | unsigned long (*get_cr3)(struct kvm_vcpu *vcpu); | 243 | unsigned long (*get_cr3)(struct kvm_vcpu *vcpu); |
244 | int (*page_fault)(struct kvm_vcpu *vcpu, gva_t gva, u32 err, bool no_apf); | 244 | int (*page_fault)(struct kvm_vcpu *vcpu, gva_t gva, u32 err, |
245 | bool prefault); | ||
245 | void (*inject_page_fault)(struct kvm_vcpu *vcpu, | 246 | void (*inject_page_fault)(struct kvm_vcpu *vcpu, |
246 | struct x86_exception *fault); | 247 | struct x86_exception *fault); |
247 | void (*free)(struct kvm_vcpu *vcpu); | 248 | void (*free)(struct kvm_vcpu *vcpu); |