Lines Matching refs:nested

130 /* If set, guests are allowed to create and control nested guests */
131 static bool nested = true;
132 module_param(nested, bool, S_IRUGO | S_IWUSR);
133 MODULE_PARM_DESC(nested, "Enable nested virtualization (only on POWER9)");
187 /* If we're a nested hypervisor, fall back to ordinary IPIs for now */
1081 * H_RPT_INVALIDATE hcall handler for nested guests.
1083 * Handles only nested process-scoped invalidation requests in L0.
1101 do_h_rpt_invalidate_prt(pid, vcpu->arch.nested->shadow_lpid,
1120 * Partition-scoped invalidation for nested guests.
1749 * Radix guests can not run PR KVM or nested HV
1974 pr_emerg("KVM trap in HV mode while nested!\n");
1996 /* These need to go to the nested HV */
2097 * The H_RPT_INVALIDATE hcalls issued by nested
3240 struct kvm_nested_guest *nested = vcpu->arch.nested;
3244 if (nested)
3245 need_tlb_flush = &nested->need_tlb_flush;
3293 struct kvm_nested_guest *nested = vcpu->arch.nested;
3300 if (nested)
3301 prev_cpu = nested->prev_cpu[vcpu->arch.nested_vcpu_id];
3325 if (nested)
3326 nested->prev_cpu[vcpu->arch.nested_vcpu_id] = pcpu;
4199 if (vcpu->arch.nested) {
4200 hvregs.lpid = vcpu->arch.nested->shadow_lpid;
4217 * nested hv case which needs to abort the hcall or zero the
4262 struct kvm_nested_guest *nested = vcpu->arch.nested;
4271 else if (*tb >= time_limit) /* nested time limit */
4285 if (trap == BOOK3S_INTERRUPT_SYSCALL && !nested &&
4292 } else if (nested) {
4721 struct kvm_nested_guest *nested = vcpu->arch.nested;
4782 if (!nested) {
4788 * For nested HV, don't synthesize but always pass MER,
4857 * entering a nested guest in which case the decrementer is now owned
4869 if (!nested)
5085 /* If running as a nested hypervisor, we don't support HPT guests */
5780 /* POWER9 in radix mode is capable of being a nested hypervisor. */
5991 /* If we're a nested hypervisor, we currently only support radix */
6118 /* If we're a nested hypervisor, we currently only support radix */
6156 if (!nested)
6183 /* For now quadrants are the only way to access nested guest memory */
6184 if (rc && vcpu->arch.nested)
6202 /* For now quadrants are the only way to access nested guest memory */
6203 if (rc && vcpu->arch.nested)