From 10e5fb2b9b2f27c83b3e5a1d048b158d5cf42a43 Mon Sep 17 00:00:00 2001 From: Yves-Alexis Perez Date: Fri, 26 Apr 2013 14:57:47 +0200 Subject: Imported Upstream version 5.0.3 --- testing/start-testing | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'testing/start-testing') 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 + -- cgit v1.2.3