mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-23 18:12:00 -06:00
spapr: Pass PowerPCCPU to spapr_hypercall()
Needed for changing the hypercall handlers' argument type to PowerPCCPU. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
1b14670a38
commit
aa100fa4c9
4 changed files with 7 additions and 4 deletions
|
@ -817,7 +817,8 @@ int kvm_arch_handle_exit(CPUPPCState *env, struct kvm_run *run)
|
|||
#ifdef CONFIG_PSERIES
|
||||
case KVM_EXIT_PAPR_HCALL:
|
||||
dprintf("handle PAPR hypercall\n");
|
||||
run->papr_hcall.ret = spapr_hypercall(env, run->papr_hcall.nr,
|
||||
run->papr_hcall.ret = spapr_hypercall(ppc_env_get_cpu(env),
|
||||
run->papr_hcall.nr,
|
||||
run->papr_hcall.args);
|
||||
ret = 0;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue