diff options
Diffstat (limited to 'drivers/kvm/vmx.c')
-rw-r--r-- | drivers/kvm/vmx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 3b44573c326e..83084348581a 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c | |||
@@ -1973,6 +1973,8 @@ static int handle_cr(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | |||
1973 | vcpu_load_rsp_rip(vcpu); | 1973 | vcpu_load_rsp_rip(vcpu); |
1974 | set_cr8(vcpu, vcpu->regs[reg]); | 1974 | set_cr8(vcpu, vcpu->regs[reg]); |
1975 | skip_emulated_instruction(vcpu); | 1975 | skip_emulated_instruction(vcpu); |
1976 | if (irqchip_in_kernel(vcpu->kvm)) | ||
1977 | return 1; | ||
1976 | kvm_run->exit_reason = KVM_EXIT_SET_TPR; | 1978 | kvm_run->exit_reason = KVM_EXIT_SET_TPR; |
1977 | return 0; | 1979 | return 0; |
1978 | }; | 1980 | }; |