mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
db1669bcca
commit
7a39fe5882
4 changed files with 8 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue