fi
dev=$1
+ifnum=${1##*.}
qemu_online=yes
-XENBUS_PATH=/local/domain/0/backend/vif/${domid}/0
-vif=vif${domid}.0
+XENBUS_PATH=/local/domain/0/backend/vif/${domid}/${ifnum}
+vif=vif${domid}.${ifnum}
export vif qemu_online XENBUS_PATH dev
exec /etc/xen/scripts/vif-invirtroute online