Lines Matching refs:vifname
69 local vifname=$2
75 if ip link show "$vifname" >&/dev/null
77 fatal "Cannot rename interface $dev. An interface with name $vifname already exists."
79 do_or_die ip link set "$dev" name "$vifname"
87 vifname=$(xenstore_read_default "$XENBUS_PATH/vifname" "")
88 if [ "$vifname" ]
92 rename_vif "$dev" "$vifname"
94 dev="$vifname"
108 vifname=$(xenstore_read_default "$XENBUS_PATH/vifname" "")
109 if [ "$vifname" ]
111 vifname="${vifname}-emu"
114 rename_vif "$dev" "$vifname"
116 dev="$vifname"