Il 19/11/2013 09:31, Amos Kong ha scritto: > I can reproduce by hotplugging virtio-net-pci NIC > > for i in `seq 3 9` a b c d e f 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f;do > for j in `seq 1 7` 0;do > > echo "netdev_add tap,id=dev$i$j" | nc -U /tmp/m > echo "device_add > virtio-net-pci,netdev=dev$i$j,id=nic$i$j,addr=0x$i.$j,multifunction=on" | nc > -U /tmp/m > > done > done
Do you have the full command line? Also, why/where is device_add failing? Can you add a puts(driver); before the unrefs? I tried something very similar to the above, with commands like netdev_add bridge,helper=/usr/libexec/qemu-bridge-helper,br=virbr0,id=dev1f0 device_add virtio-net-pci,netdev=dev1f0,id=nic1f0,addr=0x1f.0,multifunction=on and it hotplugged all 224 devices this way without any failure. Did you try running with MALLOC_PERTURB_=42