aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_emulate.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-04-20 08:38:44 -0400
committerAvi Kivity <avi@redhat.com>2011-05-22 08:39:15 -0400
commit3cb16fe78ce91991a876c74fc5dc99419b737b7a (patch)
treeff534615110fac70fd2cf60e4d9588be3067d862 /arch/x86/include/asm/kvm_emulate.h
parent2d04a05bd7e93c13f13a82ac40de4065a99d069b (diff)
KVM: x86 emulator: make emulate_invlpg() an emulator callback
Removing direct calls to KVM. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_emulate.h')
-rw-r--r--arch/x86/include/asm/kvm_emulate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h
index 4d1546aa6104..f89076943701 100644
--- a/arch/x86/include/asm/kvm_emulate.h
+++ b/arch/x86/include/asm/kvm_emulate.h
@@ -154,6 +154,7 @@ struct x86_emulate_ops {
154 const void *new, 154 const void *new,
155 unsigned int bytes, 155 unsigned int bytes,
156 struct x86_exception *fault); 156 struct x86_exception *fault);
157 void (*invlpg)(struct x86_emulate_ctxt *ctxt, ulong addr);
157 158
158 int (*pio_in_emulated)(struct x86_emulate_ctxt *ctxt, 159 int (*pio_in_emulated)(struct x86_emulate_ctxt *ctxt,
159 int size, unsigned short port, void *val, 160 int size, unsigned short port, void *val,