KVM: x86: remove the dead code of KVM_EXIT_HYPERCALL
KVM_EXIT_HYPERCALL is not used anymore, so remove the code Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
0375f7fad9
commit
9edb17d55f
1 changed files with 0 additions and 4 deletions
|
@ -5389,10 +5389,6 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
|
||||||
if (r <= 0)
|
if (r <= 0)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
if (kvm_run->exit_reason == KVM_EXIT_HYPERCALL)
|
|
||||||
kvm_register_write(vcpu, VCPU_REGS_RAX,
|
|
||||||
kvm_run->hypercall.ret);
|
|
||||||
|
|
||||||
r = __vcpu_run(vcpu);
|
r = __vcpu_run(vcpu);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
|
Loading…
Reference in a new issue