KVM: x86 emulator: add get_cached_segment_base() callback to x86_emulate_ops
[deliverable/linux.git] / arch / x86 / include / asm / kvm_emulate.h
index f751657be73299bfb7ebf08beee51933b2797cd8..df53ba2294b6c027af36416845e03fd6f0407fb8 100644 (file)
@@ -132,6 +132,7 @@ struct x86_emulate_ops {
                                      int seg, struct kvm_vcpu *vcpu);
        u16 (*get_segment_selector)(int seg, struct kvm_vcpu *vcpu);
        void (*set_segment_selector)(u16 sel, int seg, struct kvm_vcpu *vcpu);
+       unsigned long (*get_cached_segment_base)(int seg, struct kvm_vcpu *vcpu);
        void (*get_gdt)(struct desc_ptr *dt, struct kvm_vcpu *vcpu);
        ulong (*get_cr)(int cr, struct kvm_vcpu *vcpu);
        void (*set_cr)(int cr, ulong val, struct kvm_vcpu *vcpu);
This page took 0.025155 seconds and 5 git commands to generate.