summaryrefslogtreecommitdiff
path: root/testing/start-testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing/start-testing')
-rwxr-xr-xtesting/start-testing9
1 files changed, 6 insertions, 3 deletions
diff --git a/testing/start-testing b/testing/start-testing
index 183729423..45cf4c9b9 100755
--- a/testing/start-testing
+++ b/testing/start-testing
@@ -9,13 +9,13 @@ CONFDIR=$DIR/config/kvm
KNLSRC=$BUILDDIR/$KERNEL/arch/x86/boot/bzImage
KNLTARGET=/var/run/kvm-swan-kernel
HOSTFSTARGET=/var/run/kvm-swan-hostfs
-MCASTBRS="virbr1 virbr2"
+MCASTBRS="test-br0 test-br1"
echo "Starting test environment"
[ `id -u` -eq 0 ] || die "You must be root to run $0"
-check_commands virsh
+check_commands kvm virsh
log_action "Deploying kernel $KERNEL"
execute "ln -fs $KNLSRC $KNLTARGET"
@@ -41,8 +41,11 @@ done
for br in $MCASTBRS
do
cd /sys/devices/virtual/net/$br/brif
- for vnet in `find . -name "vnet*"`
+ for vnet in `find . -name "*eth?"`
do
echo 2 > $vnet/multicast_router
done
done
+
+echo 0x08 > /sys/devices/virtual/net/test-br0/bridge/group_fwd_mask
+