Searched refs:kvm_ops (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s.c | 137 vcpu->kvm->arch.kvm_ops->inject_interrupt(vcpu, vec, flags); in kvmppc_inject_interrupt() 538 ret = vcpu->kvm->arch.kvm_ops->get_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_get_sregs() 550 ret = vcpu->kvm->arch.kvm_ops->set_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_set_sregs() 627 r = vcpu->kvm->arch.kvm_ops->get_one_reg(vcpu, id, val); in kvmppc_get_one_reg() 715 r = vcpu->kvm->arch.kvm_ops->set_one_reg(vcpu, id, val); in kvmppc_set_one_reg() 796 vcpu->kvm->arch.kvm_ops->vcpu_load(vcpu, cpu); in kvmppc_core_vcpu_load() 801 vcpu->kvm->arch.kvm_ops->vcpu_put(vcpu); in kvmppc_core_vcpu_put() 806 vcpu->kvm->arch.kvm_ops->set_msr(vcpu, msr); in kvmppc_set_msr() 812 return vcpu->kvm->arch.kvm_ops->vcpu_run(vcpu); in kvmppc_vcpu_run() 838 return vcpu->kvm->arch.kvm_ops->vcpu_create(vcpu); in kvmppc_core_vcpu_create() [all …]
|
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 | emulate_loadstore.c | 245 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore() 246 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore() 269 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore() 270 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore() 314 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore() 315 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 …]
|
/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 368 return kvm->arch.kvm_ops == kvmppc_hv_ops; in is_kvmppc_hv_enabled() 567 vcpu->kvm->arch.kvm_ops->fast_vcpu_kick(vcpu); in kvmppc_fast_vcpu_kick()
|
D | kvm_host.h | 329 struct kvmppc_ops *kvm_ops; member
|