Searched refs:kvm_ops (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/arch/powerpc/kvm/ |
D | powerpc.c | 357 if (vcpu->kvm->arch.kvm_ops && vcpu->kvm->arch.kvm_ops->store_to_eaddr) in kvmppc_st() 358 r = vcpu->kvm->arch.kvm_ops->store_to_eaddr(vcpu, eaddr, ptr, in kvmppc_st() 400 if (vcpu->kvm->arch.kvm_ops && vcpu->kvm->arch.kvm_ops->load_from_eaddr) in kvmppc_ld() 401 rc = vcpu->kvm->arch.kvm_ops->load_from_eaddr(vcpu, eaddr, ptr, in kvmppc_ld() 442 struct kvmppc_ops *kvm_ops = NULL; in kvm_arch_init_vm() local 450 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm() 452 kvm_ops = kvmppc_pr_ops; in kvm_arch_init_vm() 453 if (!kvm_ops) in kvm_arch_init_vm() 458 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm() 462 kvm_ops = kvmppc_pr_ops; in kvm_arch_init_vm() [all …]
|
D | book3s.c | 137 vcpu->kvm->arch.kvm_ops->inject_interrupt(vcpu, vec, flags); in kvmppc_inject_interrupt() 534 ret = vcpu->kvm->arch.kvm_ops->get_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_get_sregs() 546 ret = vcpu->kvm->arch.kvm_ops->set_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_set_sregs() 623 r = vcpu->kvm->arch.kvm_ops->get_one_reg(vcpu, id, val); in kvmppc_get_one_reg() 711 r = vcpu->kvm->arch.kvm_ops->set_one_reg(vcpu, id, val); in kvmppc_set_one_reg() 792 vcpu->kvm->arch.kvm_ops->vcpu_load(vcpu, cpu); in kvmppc_core_vcpu_load() 797 vcpu->kvm->arch.kvm_ops->vcpu_put(vcpu); in kvmppc_core_vcpu_put() 802 vcpu->kvm->arch.kvm_ops->set_msr(vcpu, msr); in kvmppc_set_msr() 808 return vcpu->kvm->arch.kvm_ops->vcpu_run(vcpu); in kvmppc_vcpu_run() 834 return vcpu->kvm->arch.kvm_ops->vcpu_create(vcpu); in kvmppc_core_vcpu_create() [all …]
|
D | emulate_loadstore.c | 246 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore() 247 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore() 270 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore() 271 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore() 315 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore() 316 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore()
|
D | emulate.c | 115 emulated = vcpu->kvm->arch.kvm_ops->emulate_mtspr(vcpu, sprn, in kvmppc_emulate_mtspr() 176 emulated = vcpu->kvm->arch.kvm_ops->emulate_mfspr(vcpu, sprn, in kvmppc_emulate_mfspr() 290 emulated = vcpu->kvm->arch.kvm_ops->emulate_op(vcpu, inst, in kvmppc_emulate_instruction()
|
D | booke.c | 1641 ret = vcpu->kvm->arch.kvm_ops->get_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_get_sregs() 1664 ret = vcpu->kvm->arch.kvm_ops->set_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_set_sregs() 1720 r = vcpu->kvm->arch.kvm_ops->get_one_reg(vcpu, id, val); in kvmppc_get_one_reg() 1789 r = vcpu->kvm->arch.kvm_ops->set_one_reg(vcpu, id, val); in kvmppc_set_one_reg() 2126 return kvm->arch.kvm_ops->init_vm(kvm); in kvmppc_core_init_vm() 2134 r = vcpu->kvm->arch.kvm_ops->vcpu_create(vcpu); in kvmppc_core_vcpu_create() 2160 vcpu->kvm->arch.kvm_ops->vcpu_free(vcpu); in kvmppc_core_vcpu_create() 2167 vcpu->kvm->arch.kvm_ops->vcpu_free(vcpu); in kvmppc_core_vcpu_free() 2172 kvm->arch.kvm_ops->destroy_vm(kvm); in kvmppc_core_destroy_vm() 2177 vcpu->kvm->arch.kvm_ops->vcpu_load(vcpu, cpu); in kvmppc_core_vcpu_load() [all …]
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 367 return kvm->arch.kvm_ops == kvmppc_hv_ops; in is_kvmppc_hv_enabled() 566 vcpu->kvm->arch.kvm_ops->fast_vcpu_kick(vcpu); in kvmppc_fast_vcpu_kick()
|
D | kvm_host.h | 328 struct kvmppc_ops *kvm_ops; member
|