Home
last modified time | relevance | path

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

12345678910>>...23

/Linux-v5.15/Documentation/virt/kvm/
Drunning-nested-guests.rst2 Running nested guests with KVM
5 A nested guest is the ability to run a guest inside another guest (it
13 | (Nested Guest) | | (Nested Guest) |
34 - L2 – level-2 guest; a VM running on L1, this is the "nested guest"
42 resulting in at least four levels in a nested setup — L0 (bare
44 (guest hypervisor), L3 (nested guest).
54 There are several scenarios where nested KVM can be useful, to name a
59 Provider, using nested KVM lets you rent a large enough "guest
61 multiple nested guests (level-2 guests), running different OSes, on
64 - 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-v5.15/include/uapi/linux/
Ddevlink.h374 DEVLINK_ATTR_DPIPE_TABLES, /* nested */
375 DEVLINK_ATTR_DPIPE_TABLE, /* nested */
378 DEVLINK_ATTR_DPIPE_TABLE_MATCHES, /* nested */
379 DEVLINK_ATTR_DPIPE_TABLE_ACTIONS, /* nested */
382 DEVLINK_ATTR_DPIPE_ENTRIES, /* nested */
383 DEVLINK_ATTR_DPIPE_ENTRY, /* nested */
385 DEVLINK_ATTR_DPIPE_ENTRY_MATCH_VALUES, /* nested */
386 DEVLINK_ATTR_DPIPE_ENTRY_ACTION_VALUES, /* nested */
389 DEVLINK_ATTR_DPIPE_MATCH, /* nested */
390 DEVLINK_ATTR_DPIPE_MATCH_VALUE, /* nested */
[all …]
Dif_macsec.h43 MACSEC_ATTR_RXSC_CONFIG, /* config, nested macsec_rxsc_attrs */
44 MACSEC_ATTR_SA_CONFIG, /* config, nested macsec_sa_attrs */
45 MACSEC_ATTR_SECY, /* dump, nested macsec_secy_attrs */
46 MACSEC_ATTR_TXSA_LIST, /* dump, nested, macsec_sa_attrs for each TXSA */
47 MACSEC_ATTR_RXSC_LIST, /* dump, nested, macsec_rxsc_attrs for each RXSC */
48 MACSEC_ATTR_TXSC_STATS, /* dump, nested, macsec_txsc_stats_attr */
49 MACSEC_ATTR_SECY_STATS, /* dump, nested, macsec_secy_stats_attr */
50 MACSEC_ATTR_OFFLOAD, /* config, nested, macsec_offload_attrs */
81 MACSEC_RXSC_ATTR_SA_LIST, /* dump, nested */
82 MACSEC_RXSC_ATTR_STATS, /* dump, nested, macsec_rxsc_stats_attr */
[all …]
Dopenvswitch.h165 * extracted from the packet as nested %OVS_KEY_ATTR_* attributes. This allows
169 * for %OVS_PACKET_CMD_EXECUTE. It has nested %OVS_ACTION_ATTR_* attributes.
180 * extracted from the packet as nested %OVS_TUNNEL_KEY_ATTR_* attributes.
193 OVS_PACKET_ATTR_KEY, /* Nested OVS_KEY_ATTR_* attributes. */
194 OVS_PACKET_ATTR_ACTIONS, /* Nested OVS_ACTION_ATTR_* attributes. */
196 OVS_PACKET_ATTR_EGRESS_TUN_KEY, /* Nested OVS_TUNNEL_KEY_ATTR_*
270 OVS_VPORT_ATTR_OPTIONS, /* nested attributes, varies by vport type */
323 OVS_KEY_ATTR_ENCAP, /* Nested set of encapsulated attributes. */
338 OVS_KEY_ATTR_TUNNEL, /* Nested set of ovs_tunnel attributes */
353 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
Dsmc.h81 /* SMC_NLA_LGR_V2 nested attributes */
136 /* SMC_NLA_DEV_PORT nested attributes */
166 /* SMC_NLA_STATS_T_TX(RX)_RMB_SIZE nested attributes */
167 /* SMC_NLA_STATS_TX(RX)PLOAD_SIZE nested attributes */
183 /* SMC_NLA_STATS_T_TX(RX)_RMB_STATS nested attributes */
197 /* SMC_NLA_STATS_SMCD_TECH and _SMCR_TECH nested attributes */
Dnetlink.h224 * N := Carries nested attributes
277 * @NL_ATTR_TYPE_NESTED: nested, i.e. the content of this attribute
278 * consists of sub-attributes. The nested policy and maxtype
280 * @NL_ATTR_TYPE_NESTED_ARRAY: nested array, i.e. the content of this
329 * @NL_POLICY_TYPE_ATTR_POLICY_IDX: sub policy for nested and
330 * nested array types (U32)
332 * attribute for nested and nested array types, this can
/Linux-v5.15/arch/x86/kvm/svm/
Dnested.c41 * TODO: track the cause of the nested page fault, and in nested_svm_inject_npf_exit()
61 if (vmcb_is_intercept(&svm->nested.ctl, INTERCEPT_EXCEPTION_OFFSET + PF_VECTOR) && in svm_inject_page_fault_nested()
62 !svm->nested.nested_run_pending) { in svm_inject_page_fault_nested()
76 u64 cr3 = svm->nested.ctl.nested_cr3; in nested_svm_get_tdp_pdptr()
91 return svm->nested.ctl.nested_cr3; in nested_svm_get_tdp_cr3()
109 svm->nested.ctl.nested_cr3); in nested_svm_init_mmu_context()
134 g = &svm->nested.ctl; in recalc_intercepts()
152 /* We don't want to see VMMCALLs from a nested guest */ in recalc_intercepts()
201 * nested vmcb. It is optimized in that it only merges the parts where in nested_svm_vmrun_msrpm()
206 if (!(vmcb_is_intercept(&svm->nested.ctl, INTERCEPT_MSR_PROT))) in nested_svm_vmrun_msrpm()
[all …]
/Linux-v5.15/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()
61 vmx->nested.hv_evmcs_vmptr != EVMPTR_INVALID; in vmx_has_valid_vmcs12()
68 return vmx->nested.vpid02 ? vmx->nested.vpid02 : vmx->vpid; in nested_get_vpid02()
83 * Return the cr0 value that a nested guest would read. This is a combination
100 return vmx_misc_cr3_count(to_vmx(vcpu)->nested.msrs.misc_low); in nested_cpu_vmx_misc_cr3_count()
110 return to_vmx(vcpu)->nested.msrs.misc_low & in nested_cpu_has_vmwrite_any_field()
116 return to_vmx(vcpu)->nested.msrs.misc_low & VMX_MISC_ZERO_LEN_INS; in nested_cpu_has_zero_length_injection()
[all …]
Dnested.c12 #include "nested.h"
180 if (to_vmx(vcpu)->nested.hv_evmcs_vmptr != EVMPTR_INVALID) in nested_vmx_failValid()
181 to_vmx(vcpu)->nested.need_vmcs12_to_shadow_sync = true; in nested_vmx_failValid()
194 if (vmx->nested.current_vmptr == -1ull && in nested_vmx_fail()
195 !evmptr_is_valid(vmx->nested.hv_evmcs_vmptr)) in nested_vmx_fail()
205 pr_debug_ratelimited("kvm: nested vmx abort, indicator %d\n", indicator); in nested_vmx_abort()
222 vmx->nested.need_vmcs12_to_shadow_sync = false; in vmx_disable_shadow_vmcs()
229 if (evmptr_is_valid(vmx->nested.hv_evmcs_vmptr)) { in nested_release_evmcs()
230 kvm_vcpu_unmap(vcpu, &vmx->nested.hv_evmcs_map, true); in nested_release_evmcs()
231 vmx->nested.hv_evmcs = NULL; in nested_release_evmcs()
[all …]
/Linux-v5.15/include/uapi/rdma/
Drdma_netlink.h378 RDMA_NLDEV_ATTR_RES_SUMMARY, /* nested table */
379 RDMA_NLDEV_ATTR_RES_SUMMARY_ENTRY, /* nested table */
383 RDMA_NLDEV_ATTR_RES_QP, /* nested table */
384 RDMA_NLDEV_ATTR_RES_QP_ENTRY, /* nested table */
423 RDMA_NLDEV_ATTR_RES_CM_ID, /* nested table */
424 RDMA_NLDEV_ATTR_RES_CM_ID_ENTRY, /* nested table */
435 RDMA_NLDEV_ATTR_RES_CQ, /* nested table */
436 RDMA_NLDEV_ATTR_RES_CQ_ENTRY, /* nested table */
441 RDMA_NLDEV_ATTR_RES_MR, /* nested table */
442 RDMA_NLDEV_ATTR_RES_MR_ENTRY, /* nested table */
[all …]
/Linux-v5.15/Documentation/networking/
Dethtool-netlink.rst48 Each request or reply message contains a nested attribute with common header.
84 type is used. For arbitrary length bitmaps, ethtool netlink uses a nested
104 Compact form: nested (bitset) atrribute contents:
129 Bit-by-bit form: nested (bitset) attribute contents:
136 | ``ETHTOOL_A_BITSET_BITS`` | nested | array of bits |
138 | | ``ETHTOOL_A_BITSET_BITS_BIT+`` | nested | one bit |
301 | ``ETHTOOL_A_STRSET_HEADER`` | nested | request header |
303 | ``ETHTOOL_A_STRSET_STRINGSETS`` | nested | string set to request |
305 | | ``ETHTOOL_A_STRINGSETS_STRINGSET+`` | nested | one string set |
313 | ``ETHTOOL_A_STRSET_HEADER`` | nested | reply header |
[all …]
/Linux-v5.15/tools/perf/bench/
Depoll-ctl.c56 static unsigned int nested = 0; variable
78 …OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarchy (default is 0, no nesting)…
104 if (nested > EPOLL_MAXNESTS) in nest_epollfd()
105 nested = EPOLL_MAXNESTS; in nest_epollfd()
106 printinfo("Nesting level(s): %d\n", nested); in nest_epollfd()
108 epollfdp = calloc(nested, sizeof(int)); in nest_epollfd()
112 for (i = 0; i < nested; i++) { in nest_epollfd()
121 for (i = nested - 1; i; i--) { in nest_epollfd()
329 * Deal with nested epolls, if any. in bench_epoll_ctl()
331 if (nested) in bench_epoll_ctl()
Depoll-wait.c104 static unsigned int nested = 0; variable
137 …OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarchy (default is 0, no nesting)…
245 if (nested > EPOLL_MAXNESTS) in nest_epollfd()
246 nested = EPOLL_MAXNESTS; in nest_epollfd()
248 epollfdp = calloc(nested, sizeof(*epollfdp)); in nest_epollfd()
252 for (i = 0; i < nested; i++) { in nest_epollfd()
261 for (i = nested - 1; i; i--) { in nest_epollfd()
317 if (nested) in do_threads()
444 * Deal with nested epolls, if any. in bench_epoll_wait()
446 if (nested) in bench_epoll_wait()
[all …]
/Linux-v5.15/Documentation/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-v5.15/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-v5.15/include/uapi/linux/tc_act/
Dtc_tunnel_key.h37 TCA_TUNNEL_KEY_ENC_OPTS, /* Nested TCA_TUNNEL_KEY_ENC_OPTS_
49 TCA_TUNNEL_KEY_ENC_OPTS_GENEVE, /* Nested
53 TCA_TUNNEL_KEY_ENC_OPTS_VXLAN, /* Nested
57 TCA_TUNNEL_KEY_ENC_OPTS_ERSPAN, /* Nested
/Linux-v5.15/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 …]
/Linux-v5.15/arch/mips/kernel/
Dcps-vec-ns16550.S51 NESTED(_mips_cps_puts, 0, ra)
71 NESTED(_mips_cps_putx4, 0, ra)
88 NESTED(_mips_cps_putx8, 0, ra)
105 NESTED(_mips_cps_putx16, 0, ra)
122 NESTED(_mips_cps_putx32, 0, ra)
141 NESTED(_mips_cps_putx64, 0, ra)
Dgenex.S33 NESTED(except_vec3_generic, 0, sp)
52 NESTED(except_vec3_r4000, 0, sp)
150 NESTED(handle_int, PT_SIZE, sp)
245 NESTED(except_vec4, 0, sp)
255 NESTED(except_vec_ejtag_debug, 0, sp)
270 NESTED(except_vec_vi, 0, sp)
289 NESTED(except_vec_vi_handler, 0, sp)
346 NESTED(ejtag_debug_handler, PT_SIZE, sp)
435 NESTED(except_vec_nmi, 0, sp)
444 NESTED(nmi_handler, PT_SIZE, sp)
[all …]
/Linux-v5.15/Documentation/filesystems/
Dceph.rst23 * Recursive accounting (nested files, directories, bytes)
56 a snapshot on any subdirectory (and its nested contents) in the
60 Ceph also provides some recursive accounting on directories for nested
62 system will reveal the total number of nested regular files and
63 subdirectories, and a summation of all nested file sizes. This makes
129 the summation of file sizes over all files nested beneath that
/Linux-v5.15/arch/mips/net/
Dbpf_jit_asm.S171 NESTED(bpf_slow_path_word, (6 * SZREG), $r_sp)
197 NESTED(bpf_slow_path_half, (6 * SZREG), $r_sp)
218 NESTED(bpf_slow_path_byte, (6 * SZREG), $r_sp)
261 NESTED(sk_load_word_negative, (6 * SZREG), $r_sp)
269 NESTED(sk_load_half_negative, (6 * SZREG), $r_sp)
277 NESTED(sk_load_byte_negative, (6 * SZREG), $r_sp)

12345678910>>...23