|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] Hitting 29 NIC limit |
Date: | Thu, 14 Oct 2010 16:57:36 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8 |
On 10/14/2010 04:42 PM, Richard W.M. Jones wrote:
On Thu, Oct 14, 2010 at 01:10:47PM +0100, Daniel P. Berrange wrote:Or a PCI bridge to wire up more PCI buses, so we raise the max limit for any type of device we emulate.Break the 29/30/31 virtio-blk limit ... please!
It was broken ages ago: address@hidden:~$ wc -l /proc/partitions; tail /proc/partitions 422 /proc/partitions 251 1618 1 vdcx2 251 1621 489951 vdcx5 251 1632 10485760 vdcy 251 1633 9992398 vdcy1 251 1634 1 vdcy2 251 1637 489951 vdcy5 251 1648 10485760 vdcz 251 1649 9992398 vdcz1 251 1650 1 vdcz2 251 1653 489951 vdcz5 This is what makes qdev so useful. args="" for slot in 5 6 7 8 9 10 11 12 13 14 15 16 17; do for fn in 0 1 2 3 4 5 6 7; doargs="$args -drive file=/home/anthony/images/linux.img,if=none,snapshot=on,id=disk${slot}_${fn}" args="$args -device virtio-blk-pci,addr=${slot}.${fn},drive=disk${slot}_${fn},multifunction=on"
done donex86_64-softmmu/qemu-system-x86_64 -hda ~/images/linux.img ${args} -enable-kvm -serial stdio
Regards, Anthony Liguori
Rich.
[Prev in Thread] | Current Thread | [Next in Thread] |