diff options
author | Izik Eidus <izike@qumranet.com> | 2008-03-24 13:38:34 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-27 05:00:38 -0400 |
commit | 2e4d2653497856b102c90153f970c9e344ba96c6 (patch) | |
tree | 8a1929d5caa1f9436c25a104f75403fb2b3e5e2f /include | |
parent | 4c9fc8ef501790732ed035585b491756b75ea4c6 (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')
-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 { | |||
388 | u64 (*get_segment_base)(struct kvm_vcpu *vcpu, int seg); | 388 | u64 (*get_segment_base)(struct kvm_vcpu *vcpu, int seg); |
389 | void (*get_segment)(struct kvm_vcpu *vcpu, | 389 | void (*get_segment)(struct kvm_vcpu *vcpu, |
390 | struct kvm_segment *var, int seg); | 390 | struct kvm_segment *var, int seg); |
391 | int (*get_cpl)(struct kvm_vcpu *vcpu); | ||
391 | void (*set_segment)(struct kvm_vcpu *vcpu, | 392 | void (*set_segment)(struct kvm_vcpu *vcpu, |
392 | struct kvm_segment *var, int seg); | 393 | struct kvm_segment *var, int seg); |
393 | void (*get_cs_db_l_bits)(struct kvm_vcpu *vcpu, int *db, int *l); | 394 | void (*get_cs_db_l_bits)(struct kvm_vcpu *vcpu, int *db, int *l); |