Searched refs:kvm_ops (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s.c | 113 vcpu->kvm->arch.kvm_ops->inject_interrupt(vcpu, vec, flags); in kvmppc_inject_interrupt() 486 ret = vcpu->kvm->arch.kvm_ops->get_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_get_sregs() 498 ret = vcpu->kvm->arch.kvm_ops->set_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_set_sregs() 575 r = vcpu->kvm->arch.kvm_ops->get_one_reg(vcpu, id, val); in kvmppc_get_one_reg() 663 r = vcpu->kvm->arch.kvm_ops->set_one_reg(vcpu, id, val); in kvmppc_set_one_reg() 744 vcpu->kvm->arch.kvm_ops->vcpu_load(vcpu, cpu); in kvmppc_core_vcpu_load() 749 vcpu->kvm->arch.kvm_ops->vcpu_put(vcpu); in kvmppc_core_vcpu_put() 754 vcpu->kvm->arch.kvm_ops->set_msr(vcpu, msr); in kvmppc_set_msr() 760 return vcpu->kvm->arch.kvm_ops->vcpu_run(vcpu); in kvmppc_vcpu_run() 786 return vcpu->kvm->arch.kvm_ops->vcpu_create(vcpu); in kvmppc_core_vcpu_create() [all …]
|
D | powerpc.c | 333 if (vcpu->kvm->arch.kvm_ops && vcpu->kvm->arch.kvm_ops->store_to_eaddr) in kvmppc_st() 334 r = vcpu->kvm->arch.kvm_ops->store_to_eaddr(vcpu, eaddr, ptr, in kvmppc_st() 376 if (vcpu->kvm->arch.kvm_ops && vcpu->kvm->arch.kvm_ops->load_from_eaddr) in kvmppc_ld() 377 rc = vcpu->kvm->arch.kvm_ops->load_from_eaddr(vcpu, eaddr, ptr, in kvmppc_ld() 433 struct kvmppc_ops *kvm_ops = NULL; in kvm_arch_init_vm() local 439 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm() 441 kvm_ops = kvmppc_pr_ops; in kvm_arch_init_vm() 442 if (!kvm_ops) in kvm_arch_init_vm() 447 kvm_ops = kvmppc_hv_ops; in kvm_arch_init_vm() 451 kvm_ops = kvmppc_pr_ops; in kvm_arch_init_vm() [all …]
|
D | emulate_loadstore.c | 244 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore() 245 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore() 268 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore() 269 vcpu->kvm->arch.kvm_ops->giveup_ext(vcpu, in kvmppc_emulate_loadstore() 313 if (vcpu->kvm->arch.kvm_ops->giveup_ext) in kvmppc_emulate_loadstore() 314 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(vcpu, inst, in kvmppc_emulate_instruction()
|
D | booke.c | 1607 ret = vcpu->kvm->arch.kvm_ops->get_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_get_sregs() 1630 ret = vcpu->kvm->arch.kvm_ops->set_sregs(vcpu, sregs); in kvm_arch_vcpu_ioctl_set_sregs() 1686 r = vcpu->kvm->arch.kvm_ops->get_one_reg(vcpu, id, val); in kvmppc_get_one_reg() 1755 r = vcpu->kvm->arch.kvm_ops->set_one_reg(vcpu, id, val); in kvmppc_set_one_reg() 2092 return kvm->arch.kvm_ops->init_vm(kvm); in kvmppc_core_init_vm() 2100 r = vcpu->kvm->arch.kvm_ops->vcpu_create(vcpu); in kvmppc_core_vcpu_create() 2126 vcpu->kvm->arch.kvm_ops->vcpu_free(vcpu); in kvmppc_core_vcpu_create() 2133 vcpu->kvm->arch.kvm_ops->vcpu_free(vcpu); in kvmppc_core_vcpu_free() 2138 kvm->arch.kvm_ops->destroy_vm(kvm); in kvmppc_core_destroy_vm() 2143 vcpu->kvm->arch.kvm_ops->vcpu_load(vcpu, cpu); in kvmppc_core_vcpu_load() [all …]
|
/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 347 return kvm->arch.kvm_ops == kvmppc_hv_ops; in is_kvmppc_hv_enabled() 546 vcpu->kvm->arch.kvm_ops->fast_vcpu_kick(vcpu); in kvmppc_fast_vcpu_kick()
|
D | kvm_host.h | 337 struct kvmppc_ops *kvm_ops; member
|