diff options
Diffstat (limited to 'drivers/kvm')
-rw-r--r-- | drivers/kvm/vmx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index a9b4cb51dec8..cd999c0a24c4 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c | |||
@@ -1831,7 +1831,8 @@ static int handle_cr(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | |||
1831 | vcpu_load_rsp_rip(vcpu); | 1831 | vcpu_load_rsp_rip(vcpu); |
1832 | set_cr8(vcpu, vcpu->regs[reg]); | 1832 | set_cr8(vcpu, vcpu->regs[reg]); |
1833 | skip_emulated_instruction(vcpu); | 1833 | skip_emulated_instruction(vcpu); |
1834 | return 1; | 1834 | kvm_run->exit_reason = KVM_EXIT_SET_TPR; |
1835 | return 0; | ||
1835 | }; | 1836 | }; |
1836 | break; | 1837 | break; |
1837 | case 2: /* clts */ | 1838 | case 2: /* clts */ |