Hide Forgot
Description of problem: boot vm with multiple nics,there are only one nic is available Version-Release number of selected component (if applicable): kvm-83-231.el5 How reproducible: almost Steps to Reproduce: 1.boot a guest with multiple nic qemu-kvm ... -net nic,vlan=0,model=rtl8139,macaddr=9a:ef:33:43:be:ab \ -net tap,vlan=0,ifname=t0-113806-qvX,script=qemu-ifup,downscript=no \ -net nic,vlan=1,model=rtl8139,macaddr=9a:ed:33:43:20:f0 \ -net tap,vlan=1,ifname=t1-113806-qvd,script=qemu-ifup,downscript=no \ -net nic,vlan=2,model=rtl8139,macaddr=9a:ef:33:43:5f:c6 \ -net tap,vlan=2,ifname=t2-113806-qXd,script=qemu-ifup,downscript=no \ -net nic,vlan=3,model=rtl8139,macaddr=9a:ea:33:43:19:4a \ -net tap,vlan=3,ifname=t3-113806-vXd,script=qemu-ifup,downscript=no \ -m 4096 -smp 4,cores=1,threads=1,sockets=4 -cpu qemu64,+sse2 -soundhw ac97 -spice port=8000,disable-ticketing -qxl 1 -rtc-td-hack -M rhel5.6.0 -boot c -usbdevice tablet -no-kvm-pit-reinjection 2.ifconfig to verify all nic got a ip. 3.ping each ip that guest have.always only one ip address can be reached by ping Actual results: always only one address available Expected results: all nic work well Additional info: host info : kernel 2.6.18-238.el5 kmod-kvm-83-231.el5 kvm-tools-83-231.el5 kvm-83-231.el5 full cmd : qemu-kvm -name rhel61-64 -monitor stdio -serial unix:/tmp/serial-20110427-113806-qvXd,server,nowait -drive file=/usr/local/staf/test/RHEV/kvm/autotest/client/tests/kvm/images/RHEL-Server-6.1-64.qcow2,index=0,if=ide,media=disk,cache=none,format=qcow2 \ -net nic,vlan=0,model=rtl8139,macaddr=9a:ef:33:43:be:ab \ -net tap,vlan=0,ifname=t0-113806-qvXd,script=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/kvm/scripts/qemu-ifup,downscript=no \ -net nic,vlan=1,model=rtl8139,macaddr=9a:ed:33:43:20:f0 \ -net tap,vlan=1,ifname=t1-113806-qXd,script=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/kvm/scripts/qemu-ifup,downscript=no \ -net nic,vlan=2,model=rtl8139,macaddr=9a:ef:33:43:5f:c6 \ -net tap,vlan=2,ifname=t2-113806-qvd,script=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/kvm/scripts/qemu-ifup,downscript=no \ -net nic,vlan=3,model=rtl8139,macaddr=9a:ea:33:43:19:4a \ -net tap,vlan=3,ifname=t3-113806-qvX,script=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/kvm/scripts/qemu-ifup,downscript=no -m 4096 -smp 4,cores=1,threads=1,sockets=4 -cpu qemu64,+sse2 -soundhw ac97 -spice port=8000,disable-ticketing -qxl 1 -rtc-td-hack -M rhel5.6.0 -boot c -usbdevice tablet -no-kvm-pit-reinjection guest os:rhel6.1-64 other info if remove the available nic from qemu monitor , one of the unavailable nics will available
(qemu) info pci Bus 0, device 0, function 0: Host bridge: PCI device 8086:1237 Bus 0, device 1, function 0: ISA bridge: PCI device 8086:7000 Bus 0, device 1, function 1: IDE controller: PCI device 8086:7010 BAR4: I/O at 0xc000 [0xc00f]. Bus 0, device 1, function 2: USB controller: PCI device 8086:7020 IRQ 11. BAR4: I/O at 0xc020 [0xc03f]. Bus 0, device 1, function 3: Bridge: PCI device 8086:7113 IRQ 9. Bus 0, device 2, function 0: Class 0780: PCI device 1b36:0105 IRQ 10. BAR0: I/O at 0xc040 [0xc04f]. BAR1: 32 bit memory at 0xc1000000 [0xc100ffff]. Bus 0, device 3, function 0: VGA controller: PCI device 1b36:0100 IRQ 11. BAR0: 32 bit memory at 0xc4000000 [0xc7ffffff]. BAR1: 32 bit memory at 0xc8000000 [0xc8000fff]. BAR2: 32 bit memory at 0xc8002000 [0xc8003fff]. BAR3: I/O at 0xc050 [0xc057]. Bus 0, device 4, function 0: Ethernet controller: PCI device 10ec:8139 IRQ 11. BAR0: I/O at 0xc100 [0xc1ff]. BAR1: 32 bit memory at 0xc8004000 [0xc80040ff]. Bus 0, device 5, function 0: Ethernet controller: PCI device 10ec:8139 IRQ 10. BAR0: I/O at 0xc200 [0xc2ff]. BAR1: 32 bit memory at 0xc8005000 [0xc80050ff]. Bus 0, device 6, function 0: Ethernet controller: PCI device 10ec:8139 IRQ 10. BAR0: I/O at 0xc300 [0xc3ff]. BAR1: 32 bit memory at 0xc8006000 [0xc80060ff]. Bus 0, device 7, function 0: Ethernet controller: PCI device 10ec:8139 IRQ 11. BAR0: I/O at 0xc400 [0xc4ff]. BAR1: 32 bit memory at 0xc8007000 [0xc80070ff]. Bus 0, device 8, function 0: Audio controller: PCI device 8086:2415 IRQ 11. BAR0: I/O at 0xc800 [0xcbff]. BAR1: I/O at 0xcc00 [0xccff]. Bus 0, device 9, function 0: RAM controller: PCI device 1af4:1002 IRQ 10. BAR0: I/O at 0xcd00 [0xcd1f]. (qemu) (qemu) info network VLAN 0 devices: tap.0: ifname=t0-113806-qvXd,script=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/kvm/scripts/qemu-ifup,downscript=no rtl8139.0: model=rtl8139,macaddr=9a:ef:33:43:be:ab VLAN 1 devices: tap.1: ifname=t1-113806-qXd,script=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/kvm/scripts/qemu-ifup,downscript=no rtl8139.1: model=rtl8139,macaddr=9a:ed:33:43:20:f0 VLAN 2 devices: tap.2: ifname=t2-113806-qvd,script=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/kvm/scripts/qemu-ifup,downscript=no rtl8139.2: model=rtl8139,macaddr=9a:ef:33:43:5f:c6 VLAN 3 devices: tap.3: ifname=t3-113806-qvX,script=/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/kvm/scripts/qemu-ifup,downscript=no rtl8139.3: model=rtl8139,macaddr=9a:ea:33:43:19:4a (qemu)