diff options
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | 2011-11-28 07:41:38 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 04:22:07 -0500 |
commit | 9edb17d55f3ea4943f9654f2aad7a99b4c55840a (patch) | |
tree | 62e8172a7a92ddb2047cf1917682366d9fb5d7f0 /arch/x86/kvm/x86.c | |
parent | 0375f7fad904b59502341ccecfc8faea70b34c91 (diff) |
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>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 4e533d24c513..465053151a2d 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -5389,10 +5389,6 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | |||
5389 | if (r <= 0) | 5389 | if (r <= 0) |
5390 | goto out; | 5390 | goto out; |
5391 | 5391 | ||
5392 | if (kvm_run->exit_reason == KVM_EXIT_HYPERCALL) | ||
5393 | kvm_register_write(vcpu, VCPU_REGS_RAX, | ||
5394 | kvm_run->hypercall.ret); | ||
5395 | |||
5396 | r = __vcpu_run(vcpu); | 5392 | r = __vcpu_run(vcpu); |
5397 | 5393 | ||
5398 | out: | 5394 | out: |