aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_emulate.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/kvm_emulate.h')
-rw-r--r--arch/x86/include/asm/kvm_emulate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h
index 69a64a6a36f4..c37296d0e909 100644
--- a/arch/x86/include/asm/kvm_emulate.h
+++ b/arch/x86/include/asm/kvm_emulate.h
@@ -137,6 +137,8 @@ struct x86_emulate_ops {
137 void (*set_cr)(int cr, ulong val, struct kvm_vcpu *vcpu); 137 void (*set_cr)(int cr, ulong val, struct kvm_vcpu *vcpu);
138 int (*cpl)(struct kvm_vcpu *vcpu); 138 int (*cpl)(struct kvm_vcpu *vcpu);
139 void (*set_rflags)(struct kvm_vcpu *vcpu, unsigned long rflags); 139 void (*set_rflags)(struct kvm_vcpu *vcpu, unsigned long rflags);
140 int (*get_dr)(int dr, unsigned long *dest, struct kvm_vcpu *vcpu);
141 int (*set_dr)(int dr, unsigned long value, struct kvm_vcpu *vcpu);
140}; 142};
141 143
142/* Type, address-of, and value of an instruction's operand. */ 144/* Type, address-of, and value of an instruction's operand. */