Re: [Qemu-devel] [PATCH] extend limit of physical sections number

2013-11-19 Thread Amos Kong
On Sat, Sep 28, 2013 at 12:49:20AM +0800, Amos Kong wrote: > # qemu -drive file=/disk0,if=none,id=v0,format=qcow2 \ > -device virtio-blk-pci,drive=v0,id=v00,multifunction=on,addr=0x04.0 > > > Launching guest with more than 32 virtio-blk disks, > qemu will crash, because there are too many

Re: [Qemu-devel] [PATCH] extend limit of physical sections number

2013-11-05 Thread Paolo Bonzini
Il 05/11/2013 13:23, Peter Maydell ha scritto: >>> >> This looks really weird. Why should the memory subsystem >>> >> care whether we're using TCG or KVM or Xen? >> > >> > Because only TCG stores the section number in the low bits of the iotlb >> > entry. This is exactly what is explained in the c

Re: [Qemu-devel] [PATCH] extend limit of physical sections number

2013-11-05 Thread Peter Maydell
On 5 November 2013 09:00, Paolo Bonzini wrote: > Il 05/11/2013 01:36, Peter Maydell ha scritto: >> On 27 September 2013 17:49, Amos Kong wrote: >>> # qemu -drive file=/disk0,if=none,id=v0,format=qcow2 \ >>> -device virtio-blk-pci,drive=v0,id=v00,multifunction=on,addr=0x04.0 >>> >>> >>> La

Re: [Qemu-devel] [PATCH] extend limit of physical sections number

2013-11-05 Thread Paolo Bonzini
Il 05/11/2013 01:36, Peter Maydell ha scritto: > On 27 September 2013 17:49, Amos Kong wrote: >> # qemu -drive file=/disk0,if=none,id=v0,format=qcow2 \ >> -device virtio-blk-pci,drive=v0,id=v00,multifunction=on,addr=0x04.0 >> >> >> Launching guest with more than 32 virtio-blk disks, >> qem

Re: [Qemu-devel] [PATCH] extend limit of physical sections number

2013-11-04 Thread Peter Maydell
On 27 September 2013 17:49, Amos Kong wrote: > # qemu -drive file=/disk0,if=none,id=v0,format=qcow2 \ > -device virtio-blk-pci,drive=v0,id=v00,multifunction=on,addr=0x04.0 > > > Launching guest with more than 32 virtio-blk disks, > qemu will crash, because there are too many BARs. > > This

Re: [Qemu-devel] [PATCH] extend limit of physical sections number

2013-11-04 Thread Amos Kong
On Fri, Sep 27, 2013 at 06:52:50PM +0200, Paolo Bonzini wrote: > Il 27/09/2013 18:49, Amos Kong ha scritto: > > # qemu -drive file=/disk0,if=none,id=v0,format=qcow2 \ > > -device virtio-blk-pci,drive=v0,id=v00,multifunction=on,addr=0x04.0 > > > > > > Launching guest with more than 32 virti

Re: [Qemu-devel] [PATCH] extend limit of physical sections number

2013-09-27 Thread Paolo Bonzini
Il 27/09/2013 18:49, Amos Kong ha scritto: > # qemu -drive file=/disk0,if=none,id=v0,format=qcow2 \ > -device virtio-blk-pci,drive=v0,id=v00,multifunction=on,addr=0x04.0 > > > Launching guest with more than 32 virtio-blk disks, > qemu will crash, because there are too many BARs. > > This

[Qemu-devel] [PATCH] extend limit of physical sections number

2013-09-27 Thread Amos Kong
# qemu -drive file=/disk0,if=none,id=v0,format=qcow2 \ -device virtio-blk-pci,drive=v0,id=v00,multifunction=on,addr=0x04.0 Launching guest with more than 32 virtio-blk disks, qemu will crash, because there are too many BARs. This patch brings the limit of non-tcg up by a factor of 8 (3276