diff options
author | Avi Kivity <avi@qumranet.com> | 2007-11-25 07:04:58 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:18 -0500 |
commit | c3c91fee5195ba5176a6da5ddc2a2822243eb79f (patch) | |
tree | 1fcccd77e5705d5f885bbb24ecb08bd93cf71c63 /drivers/kvm/x86.h | |
parent | 298101da2f507c13eaf179ee4507a7c0fe3e7b06 (diff) |
KVM: Replace page fault injection by the generalized exception queue
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86.h')
-rw-r--r-- | drivers/kvm/x86.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/x86.h b/drivers/kvm/x86.h index 1e71668694ea..d3ac4e2b3a41 100644 --- a/drivers/kvm/x86.h +++ b/drivers/kvm/x86.h | |||
@@ -219,8 +219,6 @@ struct kvm_x86_ops { | |||
219 | void (*set_rflags)(struct kvm_vcpu *vcpu, unsigned long rflags); | 219 | void (*set_rflags)(struct kvm_vcpu *vcpu, unsigned long rflags); |
220 | 220 | ||
221 | void (*tlb_flush)(struct kvm_vcpu *vcpu); | 221 | void (*tlb_flush)(struct kvm_vcpu *vcpu); |
222 | void (*inject_page_fault)(struct kvm_vcpu *vcpu, | ||
223 | unsigned long addr, u32 err_code); | ||
224 | 222 | ||
225 | void (*inject_gp)(struct kvm_vcpu *vcpu, unsigned err_code); | 223 | void (*inject_gp)(struct kvm_vcpu *vcpu, unsigned err_code); |
226 | 224 | ||
@@ -306,6 +304,8 @@ int kvm_set_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 data); | |||
306 | 304 | ||
307 | void kvm_queue_exception(struct kvm_vcpu *vcpu, unsigned nr); | 305 | void kvm_queue_exception(struct kvm_vcpu *vcpu, unsigned nr); |
308 | void kvm_queue_exception_e(struct kvm_vcpu *vcpu, unsigned nr, u32 error_code); | 306 | void kvm_queue_exception_e(struct kvm_vcpu *vcpu, unsigned nr, u32 error_code); |
307 | void kvm_inject_page_fault(struct kvm_vcpu *vcpu, unsigned long cr2, | ||
308 | u32 error_code); | ||
309 | 309 | ||
310 | void fx_init(struct kvm_vcpu *vcpu); | 310 | void fx_init(struct kvm_vcpu *vcpu); |
311 | 311 | ||