| /linux/tools/testing/selftests/verification/test.d/ |
| H A D | rv_monitor_enable_disable.tc | 24 local nested 31 nested=$(basename "$nested_dir") 32 grep -q "^$monitor:$nested$" enabled_monitors 34 test -n "$nested" 41 nested=$(basename "$nested_dir") 42 ! grep -q "^$monitor:$nested$" enabled_monitors 50 nested=$(basename "$nested_dir") 51 grep -q "^$monitor:$nested$" enabled_monitors 59 nested=$(basename "$nested_dir") 60 test_simple_monitor "$nested" "$monitor/"
|
| H A D | rv_monitor_reactor.tc | 23 local nested 33 nested=$(basename "$nested_dir") 34 grep -q "\\[$reactor\\]" "monitors/$monitor/$nested/reactors" 37 test -n "$nested" 44 nested=$(basename "$nested_dir") 45 grep -q "\\[nop\\]" "monitors/$monitor/$nested/reactors" 50 nested=$(basename "$nested_dir") 51 test_monitor_reactor "$nested" "$monitor/"
|
| H A D | rv_monitors_available.tc | 13 nested=$(basename "$nested_dir") 15 grep -q "^$monitor:$nested$" available_monitors
|
| /linux/Documentation/virt/kvm/x86/ |
| H A D | running-nested-guests.rst | 4 Running nested guests with KVM 7 A nested guest is the ability to run a guest inside another guest (it 36 - L2 – level-2 guest; a VM running on L1, this is the "nested guest" 44 resulting in at least four levels in a nested setup — L0 (bare 46 (guest hypervisor), L3 (nested guest). 56 There are several scenarios where nested KVM can be useful, to name a 61 Provider, using nested KVM lets you rent a large enough "guest 63 multiple nested guests (level-2 guests), running different OSes, on 66 - Live migration of "guest hypervisors" and their nested guests, for 76 Enabling "nested" (x86) [all …]
|
| H A D | index.rst | 17 nested-vmx 18 running-nested-guests
|
| H A D | nested-vmx.rst | 16 hypervisors (which use VMX) with their own nested guests. It does so by 20 We describe in much greater detail the theory behind the nested VMX feature, 32 In nested virtualization, we have three levels: The host (KVM), which we call 33 L0, the guest hypervisor, which we call L1, and its nested guest, which we 37 Running nested VMX 40 The nested VMX feature is enabled by default since Linux kernel v4.20. For 41 older Linux kernel, it can be enabled by giving the "nested=1" option to the 65 As a VMX implementation, nested VMX presents a VMCS structure to L1.
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | nested.h | 63 return to_vmx(vcpu)->nested.cached_vmcs12; in get_vmcs12() 71 return to_vmx(vcpu)->nested.cached_shadow_vmcs12; in get_shadow_vmcs12() 84 return vmx->nested.current_vmptr != -1ull || in vmx_has_valid_vmcs12() 92 return vmx->nested.vpid02 ? vmx->nested.vpid02 : vmx->vpid; in nested_get_vpid02() 125 return vmx_misc_cr3_count(to_vmx(vcpu)->nested.msrs.misc_low); in nested_cpu_vmx_misc_cr3_count() 135 return to_vmx(vcpu)->nested.msrs.misc_low & in nested_cpu_has_vmwrite_any_field() 141 return to_vmx(vcpu)->nested.msrs.misc_low & VMX_MISC_ZERO_LEN_INS; in nested_cpu_has_zero_length_injection() 146 return to_vmx(vcpu)->nested.msrs.procbased_ctls_high & in nested_cpu_supports_monitor_trap_flag() 152 return to_vmx(vcpu)->nested.msrs.secondary_ctls_high & in nested_cpu_has_vmx_shadow_vmcs() 283 u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr0_fixed0; in nested_guest_cr0_valid() [all …]
|
| /linux/rust/macros/ |
| H A D | zeroable.rs | |
| /linux/rust/pin-init/internal/src/ |
| H A D | zeroable.rs | 34 let mut nested = 0; in parse_zeroable_derive_input() localVariable 38 TokenTree::Punct(p) if nested == 0 && p.as_char() == ',' => { in parse_zeroable_derive_input() 47 TokenTree::Punct(p) if nested == 0 && p.as_char() == '\'' => { in parse_zeroable_derive_input() 51 TokenTree::Punct(p) if nested == 0 && p.as_char() == ':' => { in parse_zeroable_derive_input() 59 nested += 1; in parse_zeroable_derive_input() 63 assert!(nested > 0); in parse_zeroable_derive_input() 64 nested -= 1; in parse_zeroable_derive_input() 70 assert_eq!(nested, 0); in parse_zeroable_derive_input()
|
| /linux/arch/x86/kvm/svm/ |
| H A D | hyperv.h | 18 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; in nested_svm_hv_update_vm_vp_ids() 24 hv_vcpu->nested.pa_page_gpa = hve->partition_assist_page; in nested_svm_hv_update_vm_vp_ids() 25 hv_vcpu->nested.vm_id = hve->hv_vm_id; in nested_svm_hv_update_vm_vp_ids() 26 hv_vcpu->nested.vp_id = hve->hv_vp_id; in nested_svm_hv_update_vm_vp_ids() 32 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; in nested_svm_l2_tlb_flush_enabled()
|
| /linux/tools/perf/bench/ |
| H A D | epoll-ctl.c | 57 static unsigned int nested = 0; variable 79 …OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarchy (default is 0, no nesting)… 105 if (nested > EPOLL_MAXNESTS) in nest_epollfd() 106 nested = EPOLL_MAXNESTS; in nest_epollfd() 107 printinfo("Nesting level(s): %d\n", nested); in nest_epollfd() 109 epollfdp = calloc(nested, sizeof(int)); in nest_epollfd() 113 for (i = 0; i < nested; i++) { in nest_epollfd() 122 for (i = nested - 1; i; i--) { in nest_epollfd() 345 if (nested) in bench_epoll_ctl()
|
| /linux/net/netfilter/ipset/ |
| H A D | ip_set_bitmap_gen.h | 95 struct nlattr *nested; in mtype_head() local 98 nested = nla_nest_start(skb, IPSET_ATTR_DATA); in mtype_head() 99 if (!nested) in mtype_head() 108 nla_nest_end(skb, nested); in mtype_head() 207 struct nlattr *adt, *nested; in mtype_list() local 229 nested = nla_nest_start(skb, IPSET_ATTR_DATA); in mtype_list() 230 if (!nested) { in mtype_list() 243 nla_nest_end(skb, nested); in mtype_list() 253 nla_nest_cancel(skb, nested); in mtype_list()
|
| H A D | ip_set_list_set.c | 457 struct nlattr *nested; in list_set_head() local 460 nested = nla_nest_start(skb, IPSET_ATTR_DATA); in list_set_head() 461 if (!nested) in list_set_head() 470 nla_nest_end(skb, nested); in list_set_head() 482 struct nlattr *atd, *nested; in list_set_list() local 500 nested = nla_nest_start(skb, IPSET_ATTR_DATA); in list_set_list() 501 if (!nested) in list_set_list() 508 nla_nest_end(skb, nested); in list_set_list() 518 nla_nest_cancel(skb, nested); in list_set_list()
|
| /linux/arch/riscv/kernel/ |
| H A D | kernel_mode_vector.c | 190 #define riscv_v_start_kernel_context(nested) (-ENOENT) argument 209 bool nested = false; in kernel_vector_begin() local 216 if (riscv_v_start_kernel_context(&nested)) { in kernel_vector_begin() 221 if (!nested) in kernel_vector_begin()
|
| /linux/arch/arm64/kvm/ |
| H A D | mmu.c | 1545 static void adjust_nested_fault_perms(struct kvm_s2_trans *nested, in adjust_nested_fault_perms() argument 1549 *writable &= kvm_s2_trans_writable(nested); in adjust_nested_fault_perms() 1550 if (!kvm_s2_trans_readable(nested)) in adjust_nested_fault_perms() 1553 *prot |= kvm_encode_nested_level(nested); in adjust_nested_fault_perms() 1557 struct kvm_s2_trans *nested, in adjust_nested_exec_perms() argument 1560 if (!kvm_s2_trans_exec_el0(kvm, nested)) in adjust_nested_exec_perms() 1562 if (!kvm_s2_trans_exec_el1(kvm, nested)) in adjust_nested_exec_perms() 1569 struct kvm_s2_trans *nested, in gmem_abort() argument 1588 if (nested) in gmem_abort() 1589 gfn = kvm_s2_trans_output(nested) >> PAGE_SHIFT; in gmem_abort() [all …]
|
| H A D | Makefile | 20 arch_timer.o trng.o vmid.o emulate-nested.o nested.o at.o \ 26 vgic/vgic-its.o vgic/vgic-debug.o vgic/vgic-v3-nested.o \
|
| /linux/scripts/coccinelle/locks/ |
| H A D | flags.cocci | 2 /// Find nested lock+irqsave functions that use the same flags variables 73 cocci.print_secs("nested lock+irqsave that reuses flags",p2) 80 msg="ERROR: nested lock+irqsave that reuses flags from line %s." % (p1[0].line)
|
| /linux/Documentation/tools/rv/ |
| H A D | rv-mon-sched.rst | 28 As a monitor container, it will enable all nested monitors and set them 30 Nevertheless nested monitors can also be activated independently both by name 48 The available nested monitors are:
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_hv_p9_entry.c | 137 if (!vcpu->arch.nested) { in store_vcpu_state() 201 if (!vcpu->arch.nested) { in restore_p9_host_os_sprs() 303 struct kvm_nested_guest *nested = vcpu->arch.nested; in switch_mmu_to_guest_radix() local 307 lpid = nested ? nested->shadow_lpid : kvm->arch.lpid; in switch_mmu_to_guest_radix() 454 struct kvm_nested_guest *nested) in check_need_tlb_flush() argument 460 if (nested) in check_need_tlb_flush() 461 need_tlb_flush = &nested->need_tlb_flush; in check_need_tlb_flush() 536 struct kvm_nested_guest *nested = vcpu->arch.nested; in kvmhv_vcpu_entry_p9() local 703 check_need_tlb_flush(kvm, vc->pcpu, nested); in kvmhv_vcpu_entry_p9()
|
| /linux/Documentation/arch/x86/ |
| H A D | kernel-stacks.rst | 28 hardware interrupt (i.e. not a nested hardware interrupt) then the 54 nested IST interrupts then the handler must adjust the IST values on 59 nested. For example, a debug interrupt can safely be interrupted by an 62 IST events with the same code to be nested. However in most cases, the 95 To handle nested #DB correctly there exist two instances of DB stacks. On 97 so a nested #DB starts from a clean stack. The nested #DB switches
|
| /linux/tools/net/ynl/pyynl/ |
| H A D | ynl_gen_c.py | 65 nested = attr['nested-attributes'] 67 nested = attr['sub-message'] 69 nested = None 71 if nested: 72 self.nested_attrs = nested 973 self.nested = type_list is None 979 if self.nested and space_name in family.consts: 1346 nested = spec['nested-attributes'] 1348 nested = spec.sub_message 1353 if self.pure_nested_structs[nested].recursive: [all …]
|
| /linux/rust/syn/ |
| H A D | discouraged.rs | 218 let nested = crate::parse::advance_step_cursor(cursor, content); in parse_any_delimiter() localVariable 220 let content = crate::parse::new_parse_buffer(scope, nested, unexpected); in parse_any_delimiter()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | task_local_storage.c | 282 value.nested.udata = &udata; in test_uptr_basic() 327 value.nested.udata = &udata2; in test_uptr_basic() 342 value.nested.udata = &udata2; in test_uptr_basic() 356 ASSERT_EQ(value.nested.udata, NULL, "value.nested.udata"); in test_uptr_basic() 365 value.nested.udata = &udata2; in test_uptr_basic()
|
| /linux/arch/x86/kvm/ |
| H A D | Makefile | 18 vmx/nested.o vmx/posted_intr.o vmx/main.o 24 kvm-amd-y += svm/svm.o svm/vmenter.o svm/pmu.o svm/nested.o svm/avic.o
|
| /linux/scripts/coccinelle/misc/ |
| H A D | irqf_oneshot.cocci | 106 …ING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ)" 112 …ING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is nested IRQ)"
|