Searched refs:kvm_ops (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s.c | 519 ret = vcpu->kvm->arch.kvm_ops->get_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_get_sregs() 531 ret = vcpu->kvm->arch.kvm_ops->set_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_set_sregs() 608 r = vcpu->kvm->arch.kvm_ops->get_one_reg(vcpu, id, val); in kvmppc_get_one_reg() 696 r = vcpu->kvm->arch.kvm_ops->set_one_reg(vcpu, id, val); in kvmppc_set_one_reg() 777 vcpu->kvm->arch.kvm_ops->vcpu_load(vcpu, cpu); in kvmppc_core_vcpu_load() 782 vcpu->kvm->arch.kvm_ops->vcpu_put(vcpu); in kvmppc_core_vcpu_put() 787 vcpu->kvm->arch.kvm_ops->set_msr(vcpu, msr); in kvmppc_set_msr() 793 return vcpu->kvm->arch.kvm_ops->vcpu_run(kvm_run, vcpu); in kvmppc_vcpu_run() 819 return kvm->arch.kvm_ops->vcpu_create(kvm, id); in kvmppc_core_vcpu_create() 824 vcpu->kvm->arch.kvm_ops->vcpu_free(vcpu); in kvmppc_core_vcpu_free() [all …]
|
D | powerpc.c | 332 if (vcpu->kvm->arch.kvm_ops && vcpu->kvm->arch.kvm_ops->store_to_eaddr) in kvmppc_st() 333 r = vcpu->kvm->arch.kvm_ops->store_to_eaddr(vcpu, eaddr, ptr, in kvmppc_st() 375 if (vcpu->kvm->arch.kvm_ops && vcpu->kvm->arch.kvm_ops->load_from_eaddr) in kvmppc_ld() 376 rc = vcpu->kvm->arch.kvm_ops->load_from_eaddr(vcpu, eaddr, ptr, in kvmppc_ld() 429 struct kvmppc_ops *kvm_ops = NULL; in kvm_arch_init_vm() local 435 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm() 437 kvm_ops = kvmppc_pr_ops; in kvm_arch_init_vm() 438 if (!kvm_ops) in kvm_arch_init_vm() 443 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm() 447 kvm_ops = kvmppc_pr_ops; in kvm_arch_init_vm() [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() 288 emulated = vcpu->kvm->arch.kvm_ops->emulate_op(run, vcpu, inst, in kvmppc_emulate_instruction()
|
D | booke.c | 1623 ret = vcpu->kvm->arch.kvm_ops->get_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_get_sregs() 1646 ret = vcpu->kvm->arch.kvm_ops->set_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_set_sregs() 1702 r = vcpu->kvm->arch.kvm_ops->get_one_reg(vcpu, id, val); in kvmppc_get_one_reg() 1771 r = vcpu->kvm->arch.kvm_ops->set_one_reg(vcpu, id, val); in kvmppc_set_one_reg() 2109 vcpu->kvm->arch.kvm_ops->mmu_destroy(vcpu); in kvmppc_mmu_destroy() 2114 return kvm->arch.kvm_ops->init_vm(kvm); in kvmppc_core_init_vm() 2119 return kvm->arch.kvm_ops->vcpu_create(kvm, id); in kvmppc_core_vcpu_create() 2124 vcpu->kvm->arch.kvm_ops->vcpu_free(vcpu); in kvmppc_core_vcpu_free() 2129 kvm->arch.kvm_ops->destroy_vm(kvm); in kvmppc_core_destroy_vm() 2134 vcpu->kvm->arch.kvm_ops->vcpu_load(vcpu, cpu); in kvmppc_core_vcpu_load() [all …]
|
/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 354 return kvm->arch.kvm_ops == kvmppc_hv_ops; in is_kvmppc_hv_enabled() 553 vcpu->kvm->arch.kvm_ops->fast_vcpu_kick(vcpu); in kvmppc_fast_vcpu_kick()
|
D | kvm_host.h | 332 struct kvmppc_ops *kvm_ops; member
|