Home
last modified time | relevance | path

Searched full:nested (Results 1 – 25 of 677) sorted by relevance

12345678910>>...28

/linux-6.8/Documentation/virt/kvm/x86/
Drunning-nested-guests.rst4 Running nested guests with KVM
7 A nested guest is the ability to run a guest inside another guest (it
15 | (Nested Guest) | | (Nested Guest) |
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
[all …]
Dnested-vmx.rst4 Nested VMX
15 The "Nested VMX" feature adds this missing capability - of running guest
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,
22 "The Turtles Project: Design and Implementation of Nested Virtualization",
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
[all …]
/linux-6.8/include/uapi/linux/
Ddevlink.h300 DEVLINK_ATTR_SELFTEST_RESULT, /* nested */
421 DEVLINK_ATTR_DPIPE_TABLES, /* nested */
422 DEVLINK_ATTR_DPIPE_TABLE, /* nested */
425 DEVLINK_ATTR_DPIPE_TABLE_MATCHES, /* nested */
426 DEVLINK_ATTR_DPIPE_TABLE_ACTIONS, /* nested */
429 DEVLINK_ATTR_DPIPE_ENTRIES, /* nested */
430 DEVLINK_ATTR_DPIPE_ENTRY, /* nested */
432 DEVLINK_ATTR_DPIPE_ENTRY_MATCH_VALUES, /* nested */
433 DEVLINK_ATTR_DPIPE_ENTRY_ACTION_VALUES, /* nested */
436 DEVLINK_ATTR_DPIPE_MATCH, /* nested */
[all …]
Dif_macsec.h45 MACSEC_ATTR_RXSC_CONFIG, /* config, nested macsec_rxsc_attrs */
46 MACSEC_ATTR_SA_CONFIG, /* config, nested macsec_sa_attrs */
47 MACSEC_ATTR_SECY, /* dump, nested macsec_secy_attrs */
48 MACSEC_ATTR_TXSA_LIST, /* dump, nested, macsec_sa_attrs for each TXSA */
49 MACSEC_ATTR_RXSC_LIST, /* dump, nested, macsec_rxsc_attrs for each RXSC */
50 MACSEC_ATTR_TXSC_STATS, /* dump, nested, macsec_txsc_stats_attr */
51 MACSEC_ATTR_SECY_STATS, /* dump, nested, macsec_secy_stats_attr */
52 MACSEC_ATTR_OFFLOAD, /* config, nested, macsec_offload_attrs */
83 MACSEC_RXSC_ATTR_SA_LIST, /* dump, nested */
84 MACSEC_RXSC_ATTR_STATS, /* dump, nested, macsec_rxsc_stats_attr */
[all …]
Dopenvswitch.h168 * extracted from the packet as nested %OVS_KEY_ATTR_* attributes. This allows
172 * for %OVS_PACKET_CMD_EXECUTE. It has nested %OVS_ACTION_ATTR_* attributes.
183 * extracted from the packet as nested %OVS_TUNNEL_KEY_ATTR_* attributes.
196 OVS_PACKET_ATTR_KEY, /* Nested OVS_KEY_ATTR_* attributes. */
197 OVS_PACKET_ATTR_ACTIONS, /* Nested OVS_ACTION_ATTR_* attributes. */
199 OVS_PACKET_ATTR_EGRESS_TUN_KEY, /* Nested OVS_TUNNEL_KEY_ATTR_*
273 OVS_VPORT_ATTR_OPTIONS, /* nested attributes, varies by vport type */
340 OVS_KEY_ATTR_ENCAP, /* Nested set of encapsulated attributes. */
355 OVS_KEY_ATTR_TUNNEL, /* Nested set of ovs_tunnel attributes */
370 OVS_KEY_ATTR_NSH, /* Nested set of ovs_nsh_key_* */
[all …]
Dnet_dropmon.h77 NET_DM_ATTR_IN_PORT, /* nested */
85 NET_DM_ATTR_STATS, /* nested */
86 NET_DM_ATTR_HW_STATS, /* nested */
90 NET_DM_ATTR_HW_ENTRIES, /* nested */
91 NET_DM_ATTR_HW_ENTRY, /* nested */
Dip_vs.h342 IPVS_CMD_ATTR_SERVICE, /* nested service attribute */
343 IPVS_CMD_ATTR_DEST, /* nested destination attribute */
344 IPVS_CMD_ATTR_DAEMON, /* nested sync daemon attribute */
356 * Used inside nested attribute IPVS_CMD_ATTR_SERVICE
371 IPVS_SVC_ATTR_STATS, /* nested attribute for service stats */
375 IPVS_SVC_ATTR_STATS64, /* nested attribute for service stats */
385 * Used inside nested attribute IPVS_CMD_ATTR_DEST
402 IPVS_DEST_ATTR_STATS, /* nested attribute for dest stats */
406 IPVS_DEST_ATTR_STATS64, /* nested attribute for dest stats */
422 * Used inside nested attribute IPVS_CMD_ATTR_DAEMON
[all …]
Dncsi.h55 * @NCSI_ATTR_PACKAGE_LIST: nested array of NCSI_PKG_ATTR attributes
84 * @NCSI_PKG_ATTR: nested array of package attributes
87 * @NCSI_PKG_ATTR_CHANNEL_LIST: nested array of NCSI_CHANNEL_ATTR attributes
105 * @NCSI_CHANNEL_ATTR: nested array of channel attributes
115 * @NCSI_CHANNEL_ATTR_VLAN_LIST: nested array of NCSI_CHANNEL_ATTR_VLAN_IDs
/linux-6.8/Documentation/netlink/specs/
Dethtool.yaml53 nested-attributes: bitset-bit
66 nested-attributes: bitset-bits
84 nested-attributes: string
98 nested-attributes: strings
106 nested-attributes: stringset
113 nested-attributes: header
117 nested-attributes: stringsets
128 nested-attributes: header
132 nested-attributes: bitset
140 nested-attributes: header
[all …]
Dovs_flow.yaml383 nested-attributes: key-attrs
385 Nested attributes specifying the flow key. Always present in
390 nested-attributes: action-attrs
392 Nested attributes specifying the actions to take for packets that
397 nested attributes must be given.
430 nested-attributes: key-attrs
432 Nested attributes specifying the mask bits for wildcarded flow
472 nested-attributes: key-attrs
533 nested-attributes: tunnel-key-attrs
582 nested-attributes: ovs-nsh-key-attrs
[all …]
Ddevlink.yaml298 nested-attributes: dl-dpipe-tables
303 nested-attributes: dl-dpipe-table
313 nested-attributes: dl-dpipe-table-matches
317 nested-attributes: dl-dpipe-table-actions
324 nested-attributes: dl-dpipe-entries
329 nested-attributes: dl-dpipe-entry
336 nested-attributes: dl-dpipe-entry-match-values
340 nested-attributes: dl-dpipe-entry-action-values
348 nested-attributes: dl-dpipe-match
353 nested-attributes: dl-dpipe-match-value
[all …]
/linux-6.8/arch/x86/kvm/svm/
Dnested.c44 * TODO: track the cause of the nested page fault, and in nested_svm_inject_npf_exit()
62 u64 cr3 = svm->nested.ctl.nested_cr3; in nested_svm_get_tdp_pdptr()
77 return svm->nested.ctl.nested_cr3; in nested_svm_get_tdp_cr3()
95 svm->nested.ctl.nested_cr3); in nested_svm_init_mmu_context()
116 if (!(svm->nested.ctl.virt_ext & VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK)) in nested_vmcb_needs_vls_intercept()
135 g = &svm->nested.ctl; in recalc_intercepts()
157 * We want to see VMMCALLs from a nested guest only when Hyper-V L2 TLB in recalc_intercepts()
184 * Merge L0's (KVM) and L1's (Nested VMCB) MSR permission bitmaps. The function
195 * - Nested hypervisor (L1) is attempting to launch the same L2 as in nested_svm_vmrun_msrpm()
197 * - Nested hypervisor (L1) is using Hyper-V emulation interface and in nested_svm_vmrun_msrpm()
[all …]
Dhyperv.h18 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-6.8/arch/x86/kvm/vmx/
Dnested.h42 return to_vmx(vcpu)->nested.cached_vmcs12; in get_vmcs12()
47 return to_vmx(vcpu)->nested.cached_shadow_vmcs12; in get_shadow_vmcs12()
52 * in vmx_set_nested_state; if it is satisfied, the nested state must include
60 return vmx->nested.current_vmptr != -1ull || in vmx_has_valid_vmcs12()
68 return vmx->nested.vpid02 ? vmx->nested.vpid02 : vmx->vpid; in nested_get_vpid02()
83 * Return the cr0/4 value that a nested guest would read. This is a combination
101 return vmx_misc_cr3_count(to_vmx(vcpu)->nested.msrs.misc_low); in nested_cpu_vmx_misc_cr3_count()
111 return to_vmx(vcpu)->nested.msrs.misc_low & in nested_cpu_has_vmwrite_any_field()
117 return to_vmx(vcpu)->nested.msrs.misc_low & VMX_MISC_ZERO_LEN_INS; in nested_cpu_has_zero_length_injection()
122 return to_vmx(vcpu)->nested.msrs.procbased_ctls_high & in nested_cpu_supports_monitor_trap_flag()
[all …]
Dnested.c13 #include "nested.h"
183 to_vmx(vcpu)->nested.need_vmcs12_to_shadow_sync = true; in nested_vmx_failValid()
196 if (vmx->nested.current_vmptr == INVALID_GPA && in nested_vmx_fail()
207 pr_debug_ratelimited("nested vmx abort, indicator %d\n", indicator); in nested_vmx_abort()
224 vmx->nested.need_vmcs12_to_shadow_sync = false; in vmx_disable_shadow_vmcs()
234 kvm_vcpu_unmap(vcpu, &vmx->nested.hv_evmcs_map, true); in nested_release_evmcs()
235 vmx->nested.hv_evmcs = NULL; in nested_release_evmcs()
238 vmx->nested.hv_evmcs_vmptr = EVMPTR_INVALID; in nested_release_evmcs()
241 hv_vcpu->nested.pa_page_gpa = INVALID_GPA; in nested_release_evmcs()
242 hv_vcpu->nested.vm_id = 0; in nested_release_evmcs()
[all …]
/linux-6.8/include/uapi/rdma/
Drdma_netlink.h382 RDMA_NLDEV_ATTR_RES_SUMMARY, /* nested table */
383 RDMA_NLDEV_ATTR_RES_SUMMARY_ENTRY, /* nested table */
387 RDMA_NLDEV_ATTR_RES_QP, /* nested table */
388 RDMA_NLDEV_ATTR_RES_QP_ENTRY, /* nested table */
427 RDMA_NLDEV_ATTR_RES_CM_ID, /* nested table */
428 RDMA_NLDEV_ATTR_RES_CM_ID_ENTRY, /* nested table */
439 RDMA_NLDEV_ATTR_RES_CQ, /* nested table */
440 RDMA_NLDEV_ATTR_RES_CQ_ENTRY, /* nested table */
445 RDMA_NLDEV_ATTR_RES_MR, /* nested table */
446 RDMA_NLDEV_ATTR_RES_MR_ENTRY, /* nested table */
[all …]
/linux-6.8/Documentation/networking/devlink/
Dindex.rst25 Nested instances
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-6.8/rust/macros/
Dzeroable.rs23 let mut nested = 0; in derive() localVariable
27 TokenTree::Punct(p) if nested == 0 && p.as_char() == ',' => { in derive()
36 TokenTree::Punct(p) if nested == 0 && p.as_char() == '\'' => { in derive()
40 TokenTree::Punct(p) if nested == 0 && p.as_char() == ':' => { in derive()
48 nested += 1; in derive()
52 assert!(nested > 0); in derive()
53 nested -= 1; in derive()
59 assert_eq!(nested, 0); in derive()
/linux-6.8/Documentation/networking/
Dethtool-netlink.rst53 Each request or reply message contains a nested attribute with common header.
89 type is used. For arbitrary length bitmaps, ethtool netlink uses a nested
109 Compact form: nested (bitset) attribute contents:
134 Bit-by-bit form: nested (bitset) attribute contents:
141 | ``ETHTOOL_A_BITSET_BITS`` | nested | array of bits |
143 | | ``ETHTOOL_A_BITSET_BITS_BIT+`` | nested | one bit |
323 | ``ETHTOOL_A_STRSET_HEADER`` | nested | request header |
325 | ``ETHTOOL_A_STRSET_STRINGSETS`` | nested | string set to request |
327 | | ``ETHTOOL_A_STRINGSETS_STRINGSET+`` | nested | one string set |
335 | ``ETHTOOL_A_STRSET_HEADER`` | nested | reply header |
[all …]
/linux-6.8/tools/perf/bench/
Depoll-ctl.c57 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()
343 * Deal with nested epolls, if any. in bench_epoll_ctl()
345 if (nested) in bench_epoll_ctl()
/linux-6.8/Documentation/dev-tools/
Dktap.rst16 KTAP test results describe a series of tests (which may be nested: i.e., test
29 information, in particular nested test results, may be lost. Also note that
46 start of the nested test results. This differs from TAP14, which uses a
59 Plan lines follow version lines to indicate the number of nested tests.
182 Nested tests
185 In KTAP, tests can be nested. This is done by having a test include within its
201 An example of a test with two nested subtests:
214 An example format with multiple levels of nested testing:
240 allows an arbitrary number of tests to be nested no yes
245 The TAP14 specification does permit nested tests, but instead of using another
[all …]
/linux-6.8/net/netfilter/ipset/
Dip_set_bitmap_gen.h95 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-6.8/Documentation/arch/x86/
Dkernel-stacks.rst28 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-6.8/include/uapi/linux/tc_act/
Dtc_tunnel_key.h32 TCA_TUNNEL_KEY_ENC_OPTS, /* Nested TCA_TUNNEL_KEY_ENC_OPTS_
45 TCA_TUNNEL_KEY_ENC_OPTS_GENEVE, /* Nested
49 TCA_TUNNEL_KEY_ENC_OPTS_VXLAN, /* Nested
53 TCA_TUNNEL_KEY_ENC_OPTS_ERSPAN, /* Nested
/linux-6.8/arch/powerpc/lib/
Dfeature-fixups-test.S318 /* Alt section with nested section in default case */ \
333 /* Alt section with nested section in else, default taken */ \
347 /* Alt section with nested section in else, else taken & nop */ \
361 /* Feature section with nested alt section, default taken */ \
373 /* Feature section with nested alt section, else taken */ \
385 /* Feature section with nested alt section, all nop'ed */ \
397 /* Nested alt sections, default with inner default taken */ \
417 /* Nested alt sections, default with inner else taken */ \
437 /* Nested alt sections, else with inner default taken */ \
457 /* Nested alt sections, else with inner else taken */ \
[all …]

12345678910>>...28