summaryrefslogtreecommitdiff
path: root/include/asm-x86/kvm_host.h
diff options
context:
space:
mode:
authorIzik Eidus <izike@qumranet.com>2008-03-24 19:38:34 +0200
committerAvi Kivity <avi@qumranet.com>2008-04-27 12:00:38 +0300
commit2e4d2653497856b102c90153f970c9e344ba96c6 (patch)
tree8a1929d5caa1f9436c25a104f75403fb2b3e5e2f /include/asm-x86/kvm_host.h
parent4c9fc8ef501790732ed035585b491756b75ea4c6 (diff)
KVM: x86: add functions to get the cpl of vcpu
Signed-off-by: Izik Eidus <izike@qumranet.com> 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h
index 2c85d01d0764..93e809c251ef 100644
--- a/include/asm-x86/kvm_host.h
+++ b/include/asm-x86/kvm_host.h
@@ -388,6 +388,7 @@ struct kvm_x86_ops {
u64 (*get_segment_base)(struct kvm_vcpu *vcpu, int seg);
void (*get_segment)(struct kvm_vcpu *vcpu,
struct kvm_segment *var, int seg);
+ int (*get_cpl)(struct kvm_vcpu *vcpu);
void (*set_segment)(struct kvm_vcpu *vcpu,
struct kvm_segment *var, int seg);
void (*get_cs_db_l_bits)(struct kvm_vcpu *vcpu, int *db, int *l);