Lines Matching defs:run

115 MODULE_PARM_DESC(one_vm_per_core, "Only run vCPUs from the same VM on a core (requires POWER8 or older)");
140 * online threads in the vcore being run.
235 * is the barrier in vcpu run that orders setting the cpu fields vs
257 * run as part of a virtual core, but the task running the vcore
266 * Hence we accumulate stolen time when the vcpu can run as part of
411 /* Determine lowest PCR bit needed to run guest in given PVR level */
1430 vcpu->run->exit_reason = KVM_EXIT_DEBUG;
1431 vcpu->run->debug.arch.address = kvmppc_get_pc(vcpu);
1575 struct kvm_run *run = vcpu->run;
1594 run->exit_reason = KVM_EXIT_INTERNAL_ERROR;
1595 run->hw.hardware_exit_reason = vcpu->arch.trap;
1598 run->exit_reason = KVM_EXIT_UNKNOWN;
1599 run->ready_for_interrupt_injection = 1;
1647 run->exit_reason = KVM_EXIT_NMI;
1648 run->hw.hardware_exit_reason = vcpu->arch.trap;
1649 /* Clear out the old NMI status from run->flags */
1650 run->flags &= ~KVM_RUN_PPC_NMI_DISP_MASK;
1653 run->flags |= KVM_RUN_PPC_NMI_DISP_FULLY_RECOV;
1655 run->flags |= KVM_RUN_PPC_NMI_DISP_NOT_RECOV;
1694 * Radix guests can not run PR KVM or nested HV
1695 * hash guests which might run PR KVM, so this
1710 run->papr_hcall.nr = kvmppc_get_gpr(vcpu, 3);
1712 run->papr_hcall.args[i] = kvmppc_get_gpr(vcpu, 4 + i);
1713 run->exit_reason = KVM_EXIT_PAPR_HCALL;
1895 run->hw.hardware_exit_reason = vcpu->arch.trap;
3356 * These are vcores that could run but their runner VCPU tasks are
3596 * set to zero and can't actually run in the guest.
3770 * See if we could run any other vcores on the physical core
4210 * L2 should not run with the L1
4466 struct kvm_run *run = vcpu->run;
4473 run->exit_reason = 0;
4517 run->exit_reason = KVM_EXIT_FAIL_ENTRY;
4518 run->fail_entry.
4537 v->run->exit_reason = KVM_EXIT_INTR;
4556 /* Let something else run */
4578 run->exit_reason = KVM_EXIT_INTR;
4583 /* Wake up some vcpu to run the core */
4598 struct kvm_run *run = vcpu->run;
4609 run->exit_reason = 0;
4622 run->exit_reason = KVM_EXIT_FAIL_ENTRY;
4623 run->fail_entry.hardware_entry_failure_reason = 0;
4766 run->exit_reason = KVM_EXIT_INTR;
4789 run->exit_reason = KVM_EXIT_INTR;
4802 struct kvm_run *run = vcpu->run;
4811 run->exit_reason = KVM_EXIT_INTERNAL_ERROR;
4817 run->exit_reason = KVM_EXIT_INTR;
4829 run->exit_reason = KVM_EXIT_FAIL_ENTRY;
4830 run->fail_entry.hardware_entry_failure_reason = 0;
4882 if (run->exit_reason == KVM_EXIT_PAPR_HCALL) {
5534 * all vCPUs in a vcore have to run on the same (sub)core,
5535 * whereas on POWER9 the threads can each run a different
6125 * chance to run and unpin their VPA pages. Unpinning of all