Re: [Qemu-devel] Re: Hitting 29 NIC limit

2010-11-18 Thread Isaku Yamahata
On Thu, Nov 18, 2010 at 12:54:29PM +0100, Gerd Hoffmann wrote: > Hi, > >> What is missing for multiple pci buses is > >> - a simple P2P bridge emulator for pc architecture >> - seabios support >>- DSDT for a new machine which has multi pci buses(IRQ routing) > > Is this really needed? Q35 IR

Re: [Qemu-devel] Re: Hitting 29 NIC limit

2010-11-18 Thread Gerd Hoffmann
Hi, What is missing for multiple pci buses is - a simple P2P bridge emulator for pc architecture - seabios support - DSDT for a new machine which has multi pci buses(IRQ routing) Is this really needed? IIRC there are (used to be?) multiport nic pci cards which are simply multiple eth

[Qemu-devel] Re: Hitting 29 NIC limit

2010-11-17 Thread Isaku Yamahata
On Thu, Nov 18, 2010 at 09:15:19AM +0200, Michael S. Tsirkin wrote: > On Thu, Nov 18, 2010 at 04:09:34PM +0900, Isaku Yamahata wrote: > > On Thu, Nov 18, 2010 at 08:46:43AM +0200, Michael S. Tsirkin wrote: > > > > What is missing for multiple pci buses is > > > > - a new PC machine description whic

[Qemu-devel] Re: Hitting 29 NIC limit

2010-11-17 Thread Michael S. Tsirkin
On Thu, Nov 18, 2010 at 04:09:34PM +0900, Isaku Yamahata wrote: > On Thu, Nov 18, 2010 at 08:46:43AM +0200, Michael S. Tsirkin wrote: > > > What is missing for multiple pci buses is > > > - a new PC machine description which has multiple pci buses > > > My Q35 chipset patch will provide this. > >

[Qemu-devel] Re: Hitting 29 NIC limit

2010-11-17 Thread Isaku Yamahata
On Thu, Nov 18, 2010 at 08:46:43AM +0200, Michael S. Tsirkin wrote: > > What is missing for multiple pci buses is > > - a new PC machine description which has multiple pci buses > > My Q35 chipset patch will provide this. > > IMHO, what we really need is a way to specify bridges > through qdev.

[Qemu-devel] Re: Hitting 29 NIC limit

2010-11-17 Thread Michael S. Tsirkin
On Thu, Nov 18, 2010 at 12:09:18PM +0900, Isaku Yamahata wrote: > Right now, qemu is internally ready to handle pci-to-pci bridge emulators > and it's quite easy to add a new simple p2p bridge emulator. > Just a single function to initialize vid/did and a single PCIDevinceInfo. > > But it's diffic

Re: [Qemu-devel] Re: Hitting 29 NIC limit

2010-11-17 Thread Isaku Yamahata
On Wed, Nov 17, 2010 at 09:41:03PM -0800, Wei Xu wrote: > Could you explain more on irq routing in dsdt and related code in qemu? I > encountered a problem: emulated user networking (-net nic -net user) cannot > work in my qemu-kvm+q35+pcie code. Your original q35 (pure qemu) works fine. The relat

Re: [Qemu-devel] Re: Hitting 29 NIC limit

2010-11-17 Thread Wei Xu
Isaku, Could you explain more on irq routing in dsdt and related code in qemu? I encountered a problem: emulated user networking (-net nic -net user) cannot work in my qemu-kvm+q35+pcie code. Your original q35 (pure qemu) works fine. Thanks! Wei On 11/17/10 7:09 PM, "Isaku Yamahata" wrote: >

[Qemu-devel] Re: Hitting 29 NIC limit

2010-11-17 Thread Isaku Yamahata
Right now, qemu is internally ready to handle pci-to-pci bridge emulators and it's quite easy to add a new simple p2p bridge emulator. Just a single function to initialize vid/did and a single PCIDevinceInfo. But it's difficult to use multi pci buses at the moment because other part isn't ready. I

[Qemu-devel] Re: Hitting 29 NIC limit

2010-11-16 Thread Anthony Liguori
On 11/16/2010 11:23 AM, Michael S. Tsirkin wrote: On Thu, Oct 14, 2010 at 05:17:36PM -0500, Anthony Liguori wrote: On 10/14/2010 05:12 PM, Anjali Kulkarni wrote: Thanks. Does this work for e1000 as well? Haven't tried. I don't know how various e1000 drivers would react.

[Qemu-devel] Re: Hitting 29 NIC limit

2010-11-16 Thread Michael S. Tsirkin
On Thu, Oct 14, 2010 at 02:07:17PM +0200, Avi Kivity wrote: > On 10/14/2010 12:54 AM, Anthony Liguori wrote: > >On 10/13/2010 05:32 PM, Anjali Kulkarni wrote: > >> > >>Hi, > >> > >>Using the legacy way of starting up NICs, I am hitting a > >>limitation after 29 > >>NICs ie no more than 29 are dete

[Qemu-devel] Re: Hitting 29 NIC limit

2010-11-16 Thread Michael S. Tsirkin
On Thu, Oct 14, 2010 at 05:17:36PM -0500, Anthony Liguori wrote: > On 10/14/2010 05:12 PM, Anjali Kulkarni wrote: > >Thanks. Does this work for e1000 as well? > > Haven't tried. I don't know how various e1000 drivers would react. > > >Also, does it support pci hotplug? > > No, but that's fixabl