| /linux/arch/x86/kvm/svm/ |
| A D | nested.c | 99 svm->nested.ctl.nested_cr3); in nested_svm_init_mmu_context() 139 g = &svm->nested.ctl; in recalc_intercepts() 534 if (!svm->nested.vmcb02.ptr) in nested_vmcb02_compute_g_pat() 551 if (svm->nested.vmcb12_gpa != svm->nested.last_vmcb12_gpa) { in nested_vmcb02_prepare_save() 553 svm->nested.last_vmcb12_gpa = svm->nested.vmcb12_gpa; in nested_vmcb02_prepare_save() 687 svm->nested.ctl.tsc_offset, in nested_vmcb02_prepare_control() 850 if (!svm->nested.hsave_msr) { in nested_svm_vmrun() 991 svm->nested.vmcb12_gpa = 0; in nested_svm_vmexit() 1185 if (svm->nested.initialized) in svm_allocate_nested() 1195 if (!svm->nested.msrpm) in svm_allocate_nested() [all …]
|
| 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()
|
| A D | svm.h | 273 struct svm_nested_state nested; member 506 (svm->nested.ctl.int_ctl & V_GIF_ENABLE_MASK); in nested_vgif_enabled() 515 return svm->nested.vmcb02.ptr; in get_vgif_vmcb() 552 return svm->nested.ctl.nested_ctl & SVM_NESTED_CTL_NP_ENABLE; in nested_npt_enabled() 558 (svm->nested.ctl.int_ctl & V_NMI_ENABLE_MASK); in nested_vnmi_enabled() 631 return is_guest_mode(vcpu) && (svm->nested.ctl.int_ctl & V_INTR_MASKING_MASK); in nested_svm_virtualize_tpr() 636 return vmcb12_is_intercept(&svm->nested.ctl, INTERCEPT_SMI); in nested_exit_on_smi() 641 return vmcb12_is_intercept(&svm->nested.ctl, INTERCEPT_INTR); in nested_exit_on_intr() 646 return vmcb12_is_intercept(&svm->nested.ctl, INTERCEPT_NMI); in nested_exit_on_nmi()
|
| /linux/arch/x86/kvm/vmx/ |
| A D | nested.c | 243 hv_vcpu->nested.vm_id = 0; in nested_release_evmcs() 244 hv_vcpu->nested.vp_id = 0; in nested_release_evmcs() 331 if (!vmx->nested.vmxon && !vmx->nested.smm.vmxon) in free_nested() 336 vmx->nested.vmxon = false; in free_nested() 360 vmx->nested.pi_desc = NULL; in free_nested() 1451 if (vmx->nested.vmxon) in vmx_set_vmx_msr() 2110 vmx->nested.hv_evmcs = vmx->nested.hv_evmcs_map.hva; in nested_vmx_handle_enlightened_vmptrld() 3363 vmx->nested.pi_desc = in nested_get_vmcs12_pages() 4108 if (vmx->nested.pi_pending && vmx->nested.pi_desc && in vmx_has_nested_events() 5371 if (vmx->nested.vmxon) in handle_vmxon() [all …]
|
| A D | nested.h | 45 return to_vmx(vcpu)->nested.cached_vmcs12; in get_vmcs12() 53 return to_vmx(vcpu)->nested.cached_shadow_vmcs12; in get_shadow_vmcs12() 66 return vmx->nested.current_vmptr != -1ull || in vmx_has_valid_vmcs12() 74 return vmx->nested.vpid02 ? vmx->nested.vpid02 : vmx->vpid; in nested_get_vpid02() 117 return to_vmx(vcpu)->nested.msrs.misc_low & in nested_cpu_has_vmwrite_any_field() 265 u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr0_fixed0; in nested_guest_cr0_valid() 266 u64 fixed1 = to_vmx(vcpu)->nested.msrs.cr0_fixed1; in nested_guest_cr0_valid() 279 u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr0_fixed0; in nested_host_cr0_valid() 280 u64 fixed1 = to_vmx(vcpu)->nested.msrs.cr0_fixed1; in nested_host_cr0_valid() 287 u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr4_fixed0; in nested_cr4_valid() [all …]
|
| A D | hyperv.h | 27 return evmptr_is_valid(vmx->nested.hv_evmcs_vmptr); in nested_vmx_is_evmptr12_valid() 37 return evmptr_is_set(vmx->nested.hv_evmcs_vmptr); in nested_vmx_is_evmptr12_set() 42 return vmx->nested.hv_evmcs; in nested_vmx_evmcs() 52 to_vmx(vcpu)->nested.enlightened_vmcs_enabled; in guest_cpuid_has_evmcs()
|
| A D | hyperv.c | 41 (!vcpu || to_vmx(vcpu)->nested.enlightened_vmcs_enabled)) in nested_get_evmcs_version() 203 vmx->nested.enlightened_vmcs_enabled = true; in nested_enable_evmcs() 215 struct hv_enlightened_vmcs *evmcs = vmx->nested.hv_evmcs; in nested_evmcs_l2_tlb_flush_enabled()
|
| /linux/Documentation/virt/kvm/x86/ |
| A D | running-nested-guests.rst | 4 Running nested guests with KVM 76 Enabling "nested" (x86) 98 parm: nested:bool 105 options kvm-intel nested=y 144 Starting a nested guest (x86) 159 nested guest with accelerated KVM. 162 Enabling "nested" (s390x) 169 $ modprobe kvm nested=1 184 Live migration with nested KVM 213 Reporting bugs from nested setups [all …]
|
| A D | index.rst | 16 nested-vmx 17 running-nested-guests
|
| 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/rust/macros/ |
| A D | zeroable.rs | 24 let mut nested = 0; in derive() variables 28 TokenTree::Punct(p) if nested == 0 && p.as_char() == ',' => { in derive() 37 TokenTree::Punct(p) if nested == 0 && p.as_char() == '\'' => { in derive() 41 TokenTree::Punct(p) if nested == 0 && p.as_char() == ':' => { in derive() 49 nested += 1; in derive() 53 assert!(nested > 0); in derive() 54 nested -= 1; in derive() 60 assert_eq!(nested, 0); in derive()
|
| /linux/Documentation/netlink/specs/ |
| A D | ethtool.yaml | 116 nested-attributes: string 130 nested-attributes: strings 145 nested-attributes: header 160 nested-attributes: header 164 nested-attributes: bitset 172 nested-attributes: header 249 nested-attributes: header 287 nested-attributes: header 309 nested-attributes: header 316 nested-attributes: bitset [all …]
|
| A D | nlctrl.yaml | 40 - nested 41 - nested-array 70 nested-attributes: op-attrs 75 nested-attributes: mcast-group-attrs 80 nested-attributes: policy-attrs 85 nested-attributes: op-policy-attrs
|
| A D | ovs_flow.yaml | 383 nested-attributes: key-attrs 390 nested-attributes: action-attrs 430 nested-attributes: key-attrs 472 nested-attributes: key-attrs 617 nested-attributes: key-attrs 631 nested-attributes: sample-attrs 658 nested-attributes: key-attrs 669 nested-attributes: ct-attrs 707 nested-attributes: action-attrs 817 nested-attributes: action-attrs [all …]
|
| A D | nftables.yaml | 430 nested-attributes: expr-attrs 535 nested-attributes: expr-attrs 577 nested-attributes: expr-attrs 585 nested-attributes: data-attrs 590 nested-attributes: data-attrs 611 nested-attributes: expr-attrs 620 nested-attributes: data-attrs 786 nested-attributes: data-attrs 790 nested-attributes: data-attrs 799 nested-attributes: data-attrs [all …]
|
| A D | team.yaml | 29 The team nested layout of get/set msg looks like 54 nested-attributes: item-option 58 nested-attributes: item-port 72 nested-attributes: attr-option 120 nested-attributes: attr-port
|
| A D | devlink.yaml | 298 nested-attributes: dl-dpipe-tables 303 nested-attributes: dl-dpipe-table 329 nested-attributes: dl-dpipe-entry 348 nested-attributes: dl-dpipe-match 362 nested-attributes: dl-dpipe-action 411 nested-attributes: dl-dpipe-field 440 nested-attributes: dl-resource 491 nested-attributes: dl-param 576 nested-attributes: dl-fmsg 648 nested-attributes: dl-attr-stats [all …]
|
| /linux/Documentation/networking/devlink/ |
| A D | index.rst | 33 lock of both nested and parent instances at the same time, devlink 35 instance lock of the nested instance could be taken. 37 nested relationship: 39 - ``devl_nested_devlink_set()`` - called to setup devlink -> nested 40 devlink relationship (could be user for multiple nested instances. 42 nested devlink relationship. 44 nested devlink relationship. 46 The nested devlink info is exposed to the userspace over object-specific
|
| /linux/Documentation/networking/ |
| A D | ethtool-netlink.rst | 116 Compact form: nested (bitset) attribute contents: 141 Bit-by-bit form: nested (bitset) attribute contents: 394 ``ETHTOOL_A_LINKINFO_HEADER`` nested reply header 508 ``ETHTOOL_A_LINKSTATE_HEADER`` nested reply header 675 ``ETHTOOL_A_DEBUG_HEADER`` nested reply header 723 ``ETHTOOL_A_WOL_HEADER`` nested reply header 764 ``ETHTOOL_A_FEATURES_HEADER`` nested reply header 796 ``ETHTOOL_A_FEATURES_HEADER`` nested reply header 836 ``ETHTOOL_A_PRIVFLAGS_HEADER`` nested reply header 931 ``ETHTOOL_A_RINGS_HEADER`` nested reply header [all …]
|
| /linux/tools/perf/bench/ |
| 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()
|
| A D | epoll-wait.c | 105 static unsigned int nested = 0; variable 138 …OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarchy (default is 0, no nesting)… 246 if (nested > EPOLL_MAXNESTS) in nest_epollfd() 247 nested = EPOLL_MAXNESTS; in nest_epollfd() 249 epollfdp = calloc(nested, sizeof(*epollfdp)); in nest_epollfd() 253 for (i = 0; i < nested; i++) { in nest_epollfd() 262 for (i = nested - 1; i; i--) { in nest_epollfd() 325 if (nested) in do_threads() 460 if (nested) in bench_epoll_wait() 465 printinfo("Nesting level(s): %d\n", nested); in bench_epoll_wait()
|
| /linux/net/netfilter/ipset/ |
| 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()
|
| /linux/arch/riscv/kernel/ |
| 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/scripts/coccinelle/locks/ |
| 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/arch/um/os-Linux/ |
| A D | signal.c | 196 int nested, bail; in hard_handler() local 212 nested = pending & 1; in hard_handler() 227 if (!nested) in hard_handler() 228 pending = from_irq_stack(nested); in hard_handler()
|