aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r--arch/x86/kvm/vmx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 9f8532b1fa9a..875b785228f6 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -919,7 +919,8 @@ static void skip_emulated_instruction(struct kvm_vcpu *vcpu)
919} 919}
920 920
921static void vmx_queue_exception(struct kvm_vcpu *vcpu, unsigned nr, 921static void vmx_queue_exception(struct kvm_vcpu *vcpu, unsigned nr,
922 bool has_error_code, u32 error_code) 922 bool has_error_code, u32 error_code,
923 bool reinject)
923{ 924{
924 struct vcpu_vmx *vmx = to_vmx(vcpu); 925 struct vcpu_vmx *vmx = to_vmx(vcpu);
925 u32 intr_info = nr | INTR_INFO_VALID_MASK; 926 u32 intr_info = nr | INTR_INFO_VALID_MASK;