mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
KVM: x86: add functions to get the cpl of vcpu
Signed-off-by: Izik Eidus <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
This commit is contained in:
parent
4c9fc8ef50
commit
2e4d265349
3 changed files with 24 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue