summaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-02-07 12:19:20 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2011-02-14 12:39:46 -0200
commit44d5cedf803fe27b3b7dabaa1f4d8bb7968d29c0 (patch)
tree3d487736c5de2aa4905f46b5bf913f44e336aed8 /target-ppc
parent24acb217a8ceb0e7a07eadcc708fd8905e28c1ea (diff)
downloadqemu-44d5cedf803fe27b3b7dabaa1f4d8bb7968d29c0.tar.gz
qemu-44d5cedf803fe27b3b7dabaa1f4d8bb7968d29c0.tar.bz2
qemu-44d5cedf803fe27b3b7dabaa1f4d8bb7968d29c0.zip
kvm: Drop return values from kvm_arch_pre/post_run
We do not check them, and the only arch with non-empty implementations always returns 0 (this is also true for qemu-kvm). Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> CC: Alexander Graf <agraf@suse.de> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/kvm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c
index 93ecc57470..bd4012a4ec 100644
--- a/target-ppc/kvm.c
+++ b/target-ppc/kvm.c
@@ -256,14 +256,12 @@ int kvm_arch_pre_run(CPUState *env, struct kvm_run *run)
return 0;
}
-int kvm_arch_post_run(CPUState *env, struct kvm_run *run)
+void kvm_arch_post_run(CPUState *env, struct kvm_run *run)
{
- return 0;
}
-int kvm_arch_process_irqchip_events(CPUState *env)
+void kvm_arch_process_irqchip_events(CPUState *env)
{
- return 0;
}
static int kvmppc_handle_halt(CPUState *env)