diff options
author | Izik Eidus <izike@qumranet.com> | 2008-03-24 18:38:34 +0100 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 11:00:38 +0200 |
commit | 2e4d2653497856b102c90153f970c9e344ba96c6 (patch) | |
tree | 8a1929d5caa1f9436c25a104f75403fb2b3e5e2f /include | |
parent | KVM: VMX: Add module option to disable flexpriority (diff) | |
download | linux-2e4d2653497856b102c90153f970c9e344ba96c6.tar.xz linux-2e4d2653497856b102c90153f970c9e344ba96c6.zip |
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')
-rw-r--r-- | include/asm-x86/kvm_host.h | 1 |
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); |