Searched refs:virt_type (Results 1 – 22 of 22) sorted by relevance
67 static int is_ibmz(int virt_type) in is_ibmz() argument88 switch (virt_type) { in is_ibmz()105 char *virt_type = getenv("LTP_VIRT_OVERRIDE"); in try_systemd_detect_virt() local107 if (virt_type) { in try_systemd_detect_virt()108 if (!strcmp("", virt_type)) in try_systemd_detect_virt()114 virt_type = virt_buf; in try_systemd_detect_virt()125 if (!fgets(virt_type, sizeof(virt_type), f)) in try_systemd_detect_virt()126 virt_type[0] = '\0'; in try_systemd_detect_virt()143 if (!strncmp("kvm", virt_type, 3)) in try_systemd_detect_virt()146 if (!strncmp("xen", virt_type, 3)) in try_systemd_detect_virt()[all …]
38 case "$virt_type" in56 tst_brk TCONF "iproute2 or kernel doesn't support $virt_type"121 case $virt_type in125 [ "$virt_type" = "vxlan" ] && opt="$opt dev $(tst_iface)"139 case $virt_type in141 ip link add $vname type $virt_type $opt144 ip -f inet$TST_IPV6 tu add $vname mode $virt_type $opt147 ip link add name $vname type $(_get_gue_fou_tnl $virt_type) $opt150 ip link add link $(tst_iface) $vname type $virt_type $opt158 case $virt_type in[all …]
12 virt_type="fou"20 t) virt_type="$2";;38 local encap_cmd="encap $virt_type encap-sport auto encap-dport"43 case $virt_type in
9 virt_type="sit"18 tst_res TINFO "test $virt_type"
10 virt_type="vlan"
10 virt_type="ipvlan"
10 virt_type="macvlan"
10 virt_type="macvtap"
13 virt_type="vxlan"
14 virt_type="vxlan"
12 virt_type="geneve"
9 virt_type="geneve"
15 virt_type="vxlan"
19 virt_type="vxlan"
16 virt_type="vlan"
21 virt_type="vlan"
13 virt_type="wireguard"
7 virt_type="macsec"
14 virt_type="gre"18 virt_type="ip6gre"
14 virt_type="sit"
74 tst_res TINFO "test $virt_type with MPLS"
22 int tst_is_virt(int virt_type);