diff options
-rw-r--r-- | testing/config/kvm/alice.xml | 2 | ||||
-rw-r--r-- | testing/config/kvm/bob.xml | 1 | ||||
-rw-r--r-- | testing/config/kvm/carol.xml | 1 | ||||
-rw-r--r-- | testing/config/kvm/dave.xml | 1 | ||||
-rw-r--r-- | testing/config/kvm/moon.xml | 2 | ||||
-rw-r--r-- | testing/config/kvm/sun.xml | 2 | ||||
-rw-r--r-- | testing/config/kvm/venus.xml | 1 | ||||
-rw-r--r-- | testing/config/kvm/vnet1.xml | 2 | ||||
-rw-r--r-- | testing/config/kvm/vnet2.xml | 2 | ||||
-rw-r--r-- | testing/config/kvm/vnet3.xml | 2 | ||||
-rw-r--r-- | testing/config/kvm/winnetou.xml | 1 | ||||
-rwxr-xr-x | testing/start-testing | 4 |
12 files changed, 16 insertions, 5 deletions
diff --git a/testing/config/kvm/alice.xml b/testing/config/kvm/alice.xml index 87a960003..620ce5116 100644 --- a/testing/config/kvm/alice.xml +++ b/testing/config/kvm/alice.xml @@ -38,12 +38,14 @@ <interface type='network'> <mac address='52:54:00:9a:e2:de'/> <source network='vnet2'/> + <target dev='alice-eth0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <interface type='network'> <mac address='52:54:00:3b:0c:d7'/> <source network='vnet1'/> + <target dev='alice-eth1'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </interface> diff --git a/testing/config/kvm/bob.xml b/testing/config/kvm/bob.xml index abd30dfef..caa1631cf 100644 --- a/testing/config/kvm/bob.xml +++ b/testing/config/kvm/bob.xml @@ -38,6 +38,7 @@ <interface type='network'> <mac address='52:54:00:40:85:6b'/> <source network='vnet3'/> + <target dev='bob-eth0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> diff --git a/testing/config/kvm/carol.xml b/testing/config/kvm/carol.xml index b28892232..8f768ff5c 100644 --- a/testing/config/kvm/carol.xml +++ b/testing/config/kvm/carol.xml @@ -38,6 +38,7 @@ <interface type='network'> <mac address='52:54:00:ae:f1:f8'/> <source network='vnet1'/> + <target dev='carol-eth0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> diff --git a/testing/config/kvm/dave.xml b/testing/config/kvm/dave.xml index 880c992b0..3ae1da021 100644 --- a/testing/config/kvm/dave.xml +++ b/testing/config/kvm/dave.xml @@ -38,6 +38,7 @@ <interface type='network'> <mac address='52:54:00:b9:15:a9'/> <source network='vnet1'/> + <target dev='dave-eth0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> diff --git a/testing/config/kvm/moon.xml b/testing/config/kvm/moon.xml index 3ef3e6ec8..975e3cec6 100644 --- a/testing/config/kvm/moon.xml +++ b/testing/config/kvm/moon.xml @@ -38,12 +38,14 @@ <interface type='network'> <mac address='52:54:00:43:e3:35'/> <source network='vnet2'/> + <target dev='moon-eth1'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </interface> <interface type='network'> <mac address='52:54:00:c7:b8:b0'/> <source network='vnet1'/> + <target dev='moon-eth0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> diff --git a/testing/config/kvm/sun.xml b/testing/config/kvm/sun.xml index c80ce1210..9d05027f9 100644 --- a/testing/config/kvm/sun.xml +++ b/testing/config/kvm/sun.xml @@ -38,12 +38,14 @@ <interface type='network'> <mac address='52:54:00:77:43:ea'/> <source network='vnet1'/> + <target dev='sun-eth0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <interface type='network'> <mac address='52:54:00:0f:97:db'/> <source network='vnet3'/> + <target dev='sun-eth1'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </interface> diff --git a/testing/config/kvm/venus.xml b/testing/config/kvm/venus.xml index d1e5fbca9..7a65ace75 100644 --- a/testing/config/kvm/venus.xml +++ b/testing/config/kvm/venus.xml @@ -38,6 +38,7 @@ <interface type='network'> <mac address='52:54:00:69:d3:80'/> <source network='vnet2'/> + <target dev='venus-eth0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> diff --git a/testing/config/kvm/vnet1.xml b/testing/config/kvm/vnet1.xml index f9d979be1..94097ab6f 100644 --- a/testing/config/kvm/vnet1.xml +++ b/testing/config/kvm/vnet1.xml @@ -4,7 +4,7 @@ <forward dev='lo' mode='route'> <interface dev='lo'/> </forward> - <bridge name='virbr1' stp='on' delay='0' /> + <bridge name='test-br0' stp='on' delay='0' /> <mac address='52:54:00:97:F9:FD'/> <ip address='192.168.0.254' netmask='255.255.255.0'> </ip> diff --git a/testing/config/kvm/vnet2.xml b/testing/config/kvm/vnet2.xml index 7d125bfc6..b21e7ed1f 100644 --- a/testing/config/kvm/vnet2.xml +++ b/testing/config/kvm/vnet2.xml @@ -4,7 +4,7 @@ <forward dev='lo' mode='route'> <interface dev='lo'/> </forward> - <bridge name='virbr2' stp='on' delay='0' /> + <bridge name='test-br1' stp='on' delay='0' /> <mac address='52:54:00:05:F3:34'/> <ip address='10.1.0.254' netmask='255.255.0.0'> </ip> diff --git a/testing/config/kvm/vnet3.xml b/testing/config/kvm/vnet3.xml index 1da06c448..f46d9ec09 100644 --- a/testing/config/kvm/vnet3.xml +++ b/testing/config/kvm/vnet3.xml @@ -4,7 +4,7 @@ <forward dev='lo' mode='route'> <interface dev='lo'/> </forward> - <bridge name='virbr3' stp='on' delay='0' /> + <bridge name='test-br2' stp='on' delay='0' /> <mac address='52:54:00:62:4C:69'/> <ip address='10.2.0.254' netmask='255.255.0.0'> </ip> diff --git a/testing/config/kvm/winnetou.xml b/testing/config/kvm/winnetou.xml index ffba7da31..9410c73b8 100644 --- a/testing/config/kvm/winnetou.xml +++ b/testing/config/kvm/winnetou.xml @@ -38,6 +38,7 @@ <interface type='network'> <mac address='52:54:00:4b:23:fa'/> <source network='vnet1'/> + <target dev='winnetou-eth0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> diff --git a/testing/start-testing b/testing/start-testing index db582cfd7..46aa4a2cb 100755 --- a/testing/start-testing +++ b/testing/start-testing @@ -9,7 +9,7 @@ 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" @@ -41,7 +41,7 @@ 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 |