Searched refs:kvm_ops (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/arch/powerpc/kvm/
H A Dbook3s.c459 return vcpu->kvm->arch.kvm_ops->get_sregs(vcpu, sregs); kvm_arch_vcpu_ioctl_get_sregs()
465 return vcpu->kvm->arch.kvm_ops->set_sregs(vcpu, sregs); kvm_arch_vcpu_ioctl_set_sregs()
539 r = vcpu->kvm->arch.kvm_ops->get_one_reg(vcpu, id, val); kvmppc_get_one_reg()
615 r = vcpu->kvm->arch.kvm_ops->set_one_reg(vcpu, id, val); kvmppc_set_one_reg()
685 vcpu->kvm->arch.kvm_ops->vcpu_load(vcpu, cpu); kvmppc_core_vcpu_load()
690 vcpu->kvm->arch.kvm_ops->vcpu_put(vcpu); kvmppc_core_vcpu_put()
695 vcpu->kvm->arch.kvm_ops->set_msr(vcpu, msr); kvmppc_set_msr()
701 return vcpu->kvm->arch.kvm_ops->vcpu_run(kvm_run, vcpu); kvmppc_vcpu_run()
725 return kvm->arch.kvm_ops->vcpu_create(kvm, id); kvmppc_core_vcpu_create()
730 vcpu->kvm->arch.kvm_ops->vcpu_free(vcpu); kvmppc_core_vcpu_free()
735 return vcpu->kvm->arch.kvm_ops->check_requests(vcpu); kvmppc_core_check_requests()
740 return kvm->arch.kvm_ops->get_dirty_log(kvm, log); kvm_vm_ioctl_get_dirty_log()
746 kvm->arch.kvm_ops->free_memslot(free, dont); kvmppc_core_free_memslot()
752 return kvm->arch.kvm_ops->create_memslot(slot, npages); kvmppc_core_create_memslot()
757 kvm->arch.kvm_ops->flush_memslot(kvm, memslot); kvmppc_core_flush_memslot()
764 return kvm->arch.kvm_ops->prepare_memory_region(kvm, memslot, mem); kvmppc_core_prepare_memory_region()
772 kvm->arch.kvm_ops->commit_memory_region(kvm, mem, old, new); kvmppc_core_commit_memory_region()
777 return kvm->arch.kvm_ops->unmap_hva(kvm, hva); kvm_unmap_hva()
783 return kvm->arch.kvm_ops->unmap_hva_range(kvm, start, end); kvm_unmap_hva_range()
788 return kvm->arch.kvm_ops->age_hva(kvm, start, end); kvm_age_hva()
793 return kvm->arch.kvm_ops->test_age_hva(kvm, hva); kvm_test_age_hva()
798 kvm->arch.kvm_ops->set_spte_hva(kvm, hva, pte); kvm_set_spte_hva()
803 vcpu->kvm->arch.kvm_ops->mmu_destroy(vcpu); kvmppc_mmu_destroy()
814 return kvm->arch.kvm_ops->init_vm(kvm); kvmppc_core_init_vm()
819 kvm->arch.kvm_ops->destroy_vm(kvm); kvmppc_core_destroy_vm()
921 return kvm->arch.kvm_ops->hcall_implemented(hcall); kvmppc_book3s_hcall_implemented()
H A Dpowerpc.c404 struct kvmppc_ops *kvm_ops = NULL; kvm_arch_init_vm() local
410 kvm_ops = kvmppc_hv_ops; kvm_arch_init_vm()
412 kvm_ops = kvmppc_pr_ops; kvm_arch_init_vm()
413 if (!kvm_ops) kvm_arch_init_vm()
418 kvm_ops = kvmppc_hv_ops; kvm_arch_init_vm()
422 kvm_ops = kvmppc_pr_ops; kvm_arch_init_vm()
426 if (kvm_ops->owner && !try_module_get(kvm_ops->owner)) kvm_arch_init_vm()
429 kvm->arch.kvm_ops = kvm_ops; kvm_arch_init_vm()
454 module_put(kvm->arch.kvm_ops->owner); kvm_arch_destroy_vm()
1348 r = kvm->arch.kvm_ops->get_smmu_info(kvm, &info); kvm_arch_vm_ioctl()
1361 r = kvm->arch.kvm_ops->arch_vm_ioctl(filp, ioctl, arg); kvm_arch_vm_ioctl()
H A Demulate.c133 emulated = vcpu->kvm->arch.kvm_ops->emulate_mtspr(vcpu, sprn, kvmppc_emulate_mtspr()
194 emulated = vcpu->kvm->arch.kvm_ops->emulate_mfspr(vcpu, sprn, kvmppc_emulate_mfspr()
297 emulated = vcpu->kvm->arch.kvm_ops->emulate_op(run, vcpu, inst, kvmppc_emulate_instruction()
H A Dbooke.c1605 return vcpu->kvm->arch.kvm_ops->get_sregs(vcpu, sregs); kvm_arch_vcpu_ioctl_get_sregs()
1624 return vcpu->kvm->arch.kvm_ops->set_sregs(vcpu, sregs); kvm_arch_vcpu_ioctl_set_sregs()
1676 r = vcpu->kvm->arch.kvm_ops->get_one_reg(vcpu, id, val); kvmppc_get_one_reg()
1745 r = vcpu->kvm->arch.kvm_ops->set_one_reg(vcpu, id, val); kvmppc_set_one_reg()
2073 vcpu->kvm->arch.kvm_ops->mmu_destroy(vcpu); kvmppc_mmu_destroy()
2078 return kvm->arch.kvm_ops->init_vm(kvm); kvmppc_core_init_vm()
2083 return kvm->arch.kvm_ops->vcpu_create(kvm, id); kvmppc_core_vcpu_create()
2088 vcpu->kvm->arch.kvm_ops->vcpu_free(vcpu); kvmppc_core_vcpu_free()
2093 kvm->arch.kvm_ops->destroy_vm(kvm); kvmppc_core_destroy_vm()
2098 vcpu->kvm->arch.kvm_ops->vcpu_load(vcpu, cpu); kvmppc_core_vcpu_load()
2103 vcpu->kvm->arch.kvm_ops->vcpu_put(vcpu); kvmppc_core_vcpu_put()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dkvm_ppc.h304 return kvm->arch.kvm_ops == kvmppc_hv_ops; is_kvmppc_hv_enabled()
404 vcpu->kvm->arch.kvm_ops->fast_vcpu_kick(vcpu); kvmppc_fast_vcpu_kick()
H A Dkvm_host.h261 struct kvmppc_ops *kvm_ops; member in struct:kvm_arch

Completed in 133 milliseconds