1#!/bin/sh
2
3#called by qemu when a HVM domU is started.
4# first parameter is tap interface, second is the bridge name
5# environement variable $XEN_DOMAIN_ID contains the domU's ID,
6# which can be used to retrieve extra parameters from the xenstore.
7
8ifconfig $1 up
9exec /sbin/brconfig $2 add $1
10