|
@@ -185,7 +185,7 @@ struct x86_emulate_ops {
|
|
int (*get_msr)(struct x86_emulate_ctxt *ctxt, u32 msr_index, u64 *pdata);
|
|
int (*get_msr)(struct x86_emulate_ctxt *ctxt, u32 msr_index, u64 *pdata);
|
|
void (*get_fpu)(struct x86_emulate_ctxt *ctxt); /* disables preempt */
|
|
void (*get_fpu)(struct x86_emulate_ctxt *ctxt); /* disables preempt */
|
|
void (*put_fpu)(struct x86_emulate_ctxt *ctxt); /* reenables preempt */
|
|
void (*put_fpu)(struct x86_emulate_ctxt *ctxt); /* reenables preempt */
|
|
- int (*intercept)(struct kvm_vcpu *vcpu,
|
|
|
|
|
|
+ int (*intercept)(struct x86_emulate_ctxt *ctxt,
|
|
struct x86_instruction_info *info,
|
|
struct x86_instruction_info *info,
|
|
enum x86_intercept_stage stage);
|
|
enum x86_intercept_stage stage);
|
|
};
|
|
};
|