diff options
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r-- | drivers/kvm/svm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index c35b8c83bf3f..d4b2936479d9 100644 --- a/drivers/kvm/svm.c +++ b/drivers/kvm/svm.c | |||
@@ -1101,8 +1101,8 @@ static int task_switch_interception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_r | |||
1101 | static int cpuid_interception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | 1101 | static int cpuid_interception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) |
1102 | { | 1102 | { |
1103 | vcpu->svm->next_rip = vcpu->svm->vmcb->save.rip + 2; | 1103 | vcpu->svm->next_rip = vcpu->svm->vmcb->save.rip + 2; |
1104 | kvm_run->exit_reason = KVM_EXIT_CPUID; | 1104 | kvm_emulate_cpuid(vcpu); |
1105 | return 0; | 1105 | return 1; |
1106 | } | 1106 | } |
1107 | 1107 | ||
1108 | static int emulate_on_interception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | 1108 | static int emulate_on_interception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) |