summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorJan Kiszka2013-03-12 10:20:24 +0100
committerGleb Natapov2013-03-12 12:25:56 +0100
commit57f252f22908535e04d520f3833a6e3116eb159d (patch)
tree144fe55ee05d9334c3bea99581763630914ea463 /arch/x86/include/asm
parentVMX: x86: handle host TSC calibration failure (diff)
downloadkernel-qcow2-linux-57f252f22908535e04d520f3833a6e3116eb159d.tar.gz
kernel-qcow2-linux-57f252f22908535e04d520f3833a6e3116eb159d.tar.xz
kernel-qcow2-linux-57f252f22908535e04d520f3833a6e3116eb159d.zip
KVM: x86: Drop unused return code from VCPU reset callback
Neither vmx nor svm nor the common part may generate an error on kvm_vcpu_reset. So drop the return code. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/kvm_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 635a74d22409..348d85965ead 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -643,7 +643,7 @@ struct kvm_x86_ops {
/* Create, but do not attach this VCPU */
struct kvm_vcpu *(*vcpu_create)(struct kvm *kvm, unsigned id);
void (*vcpu_free)(struct kvm_vcpu *vcpu);
- int (*vcpu_reset)(struct kvm_vcpu *vcpu);
+ void (*vcpu_reset)(struct kvm_vcpu *vcpu);
void (*prepare_guest_switch)(struct kvm_vcpu *vcpu);
void (*vcpu_load)(struct kvm_vcpu *vcpu, int cpu);