projects
/
invirt/packages/invirt-xen-config.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Blame glasgall for the wasted version number.
[invirt/packages/invirt-xen-config.git]
/
qemu-ifup.invirt
1
#!/bin/sh
2
3
echo "config qemu network with invirtroute for $@"
4
5
if [ -z "$domid" ]; then
6
echo "domid is not set!!!" >&2
7
exit 1
8
fi
9
10
INTERFACE=$1
11
type_if=tap
12
ifnum=${1##*.}
13
qemu_online=yes
14
vif=vif${domid}.${ifnum}
15
export vif qemu_online INTERFACE type_if
16
17
exec /etc/xen/scripts/vif-invirtroute add