summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Gamal <m.gamal005@gmail.com>2010-09-19 14:34:05 +0200
committerAvi Kivity <avi@redhat.com>2010-10-24 10:53:00 +0200
commit4ab8e02404fcbc16beefac66de24dbb2706fe2f3 (patch)
tree18607bd0b29d6b091027a2ce960999961117960d
parentcb16a7b3872e9a806f16b1f09b59103fafc7b796 (diff)
downloadlinux-3.10-4ab8e02404fcbc16beefac66de24dbb2706fe2f3.tar.gz
linux-3.10-4ab8e02404fcbc16beefac66de24dbb2706fe2f3.tar.bz2
linux-3.10-4ab8e02404fcbc16beefac66de24dbb2706fe2f3.zip
KVM: x86 emulator: Expose emulate_int_real()
Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-rw-r--r--arch/x86/include/asm/kvm_emulate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h
index 5187dd88019..b36c6b3fe14 100644
--- a/arch/x86/include/asm/kvm_emulate.h
+++ b/arch/x86/include/asm/kvm_emulate.h
@@ -260,5 +260,6 @@ int x86_emulate_insn(struct x86_emulate_ctxt *ctxt);
int emulator_task_switch(struct x86_emulate_ctxt *ctxt,
u16 tss_selector, int reason,
bool has_error_code, u32 error_code);
-
+int emulate_int_real(struct x86_emulate_ctxt *ctxt,
+ struct x86_emulate_ops *ops, int irq);
#endif /* _ASM_X86_KVM_X86_EMULATE_H */