mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
kvm: Pass CPUState to kvm_vcpu_ioctl()
Adapt helper functions to pass X86CPU / PowerPCCPU / S390CPU. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
20d695a925
commit
1bc22652d6
14 changed files with 188 additions and 156 deletions
|
@ -19,7 +19,8 @@ void s390_sclp_extint(uint32_t parm)
|
|||
|
||||
if (kvm_enabled()) {
|
||||
#ifdef CONFIG_KVM
|
||||
kvm_s390_interrupt_internal(env, KVM_S390_INT_SERVICE, parm, 0, 1);
|
||||
kvm_s390_interrupt_internal(dummy_cpu, KVM_S390_INT_SERVICE, parm,
|
||||
0, 1);
|
||||
#endif
|
||||
} else {
|
||||
env->psw.addr += 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue