aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/kvm_host.h
diff options
context:
space:
mode:
authorGuillaume Thouvenin <guillaume.thouvenin@ext.bull.net>2008-05-27 04:18:46 -0400
committerAvi Kivity <avi@qumranet.com>2008-07-20 05:42:27 -0400
commit3e6e0aab1ba1e8b354ce01f5659336f9aee69437 (patch)
tree50b4bae56f8f5672081e23b5595c3a6e45b12973 /include/asm-x86/kvm_host.h
parent9ba075a664dff836fd6fb93f90fcc827f7683d91 (diff)
KVM: Prefixes segment functions that will be exported with "kvm_"
Prefixes functions that will be exported with kvm_. We also prefixed set_segment() even if it still static to be coherent. signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net> Signed-off-by: Laurent Vivier <laurent.vivier@bull.net> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86/kvm_host.h')
-rw-r--r--include/asm-x86/kvm_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h
index fc72bad878ed..cd6a4bb8c8e8 100644
--- a/include/asm-x86/kvm_host.h
+++ b/include/asm-x86/kvm_host.h
@@ -503,6 +503,10 @@ int emulator_get_dr(struct x86_emulate_ctxt *ctxt, int dr,
503int emulator_set_dr(struct x86_emulate_ctxt *ctxt, int dr, 503int emulator_set_dr(struct x86_emulate_ctxt *ctxt, int dr,
504 unsigned long value); 504 unsigned long value);
505 505
506void kvm_get_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);
507int kvm_load_segment_descriptor(struct kvm_vcpu *vcpu, u16 selector,
508 int type_bits, int seg);
509
506int kvm_task_switch(struct kvm_vcpu *vcpu, u16 tss_selector, int reason); 510int kvm_task_switch(struct kvm_vcpu *vcpu, u16 tss_selector, int reason);
507 511
508void kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0); 512void kvm_set_cr0(struct kvm_vcpu *vcpu, unsigned long cr0);