aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/vmx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/vmx.c')
-rw-r--r--drivers/kvm/vmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c
index 4d5f40fcb65..71410a65bb9 100644
--- a/drivers/kvm/vmx.c
+++ b/drivers/kvm/vmx.c
@@ -1585,8 +1585,8 @@ static int handle_dr(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
1585 1585
1586static int handle_cpuid(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) 1586static int handle_cpuid(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
1587{ 1587{
1588 kvm_run->exit_reason = KVM_EXIT_CPUID; 1588 kvm_emulate_cpuid(vcpu);
1589 return 0; 1589 return 1;
1590} 1590}
1591 1591
1592static int handle_rdmsr(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) 1592static int handle_rdmsr(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)