Re: [Qemu-devel] [0/10] Clean up PCI code to allow for multiple root buses (v2)

2013-06-17 Thread Michael S. Tsirkin
On Thu, Jun 06, 2013 at 06:48:44PM +1000, David Gibson wrote: > The current PCI subsystem has kind of half-hearted support for > multiple independent root buses - aka PCI domains - in the form of the > PCIHostBus structure and its domain field. However, it doesn't quite > work because pci_host_bus

Re: [Qemu-devel] [0/10] Clean up PCI code to allow for multiple root buses (v2)

2013-06-12 Thread Michael S. Tsirkin
On Wed, Jun 12, 2013 at 05:18:46PM +1000, Alexey Kardashevskiy wrote: > On 06/06/2013 08:01 PM, Michael S. Tsirkin wrote: > > On Thu, Jun 06, 2013 at 06:48:44PM +1000, David Gibson wrote: > >> The current PCI subsystem has kind of half-hearted support for > >> multiple independent root buses - aka

Re: [Qemu-devel] [0/10] Clean up PCI code to allow for multiple root buses (v2)

2013-06-12 Thread Alexey Kardashevskiy
On 06/06/2013 08:01 PM, Michael S. Tsirkin wrote: > On Thu, Jun 06, 2013 at 06:48:44PM +1000, David Gibson wrote: >> The current PCI subsystem has kind of half-hearted support for >> multiple independent root buses - aka PCI domains - in the form of the >> PCIHostBus structure and its domain field.

Re: [Qemu-devel] [0/10] Clean up PCI code to allow for multiple root buses (v2)

2013-06-06 Thread David Gibson
On Thu, Jun 06, 2013 at 10:04:58AM -0500, Anthony Liguori wrote: > "Michael S. Tsirkin" writes: > > > On Thu, Jun 06, 2013 at 06:48:44PM +1000, David Gibson wrote: > >> The current PCI subsystem has kind of half-hearted support for > >> multiple independent root buses - aka PCI domains - in the f

Re: [Qemu-devel] [0/10] Clean up PCI code to allow for multiple root buses (v2)

2013-06-06 Thread Anthony Liguori
"Michael S. Tsirkin" writes: > On Thu, Jun 06, 2013 at 06:48:44PM +1000, David Gibson wrote: >> The current PCI subsystem has kind of half-hearted support for >> multiple independent root buses - aka PCI domains - in the form of the >> PCIHostBus structure and its domain field. However, it doesn

Re: [Qemu-devel] [0/10] Clean up PCI code to allow for multiple root buses (v2)

2013-06-06 Thread Michael S. Tsirkin
On Thu, Jun 06, 2013 at 06:48:44PM +1000, David Gibson wrote: > The current PCI subsystem has kind of half-hearted support for > multiple independent root buses - aka PCI domains - in the form of the > PCIHostBus structure and its domain field. However, it doesn't quite > work because pci_host_bus

[Qemu-devel] [0/10] Clean up PCI code to allow for multiple root buses (v2)

2013-06-06 Thread David Gibson
The current PCI subsystem has kind of half-hearted support for multiple independent root buses - aka PCI domains - in the form of the PCIHostBus structure and its domain field. However, it doesn't quite work because pci_host_bus_register() is always called with a domain of 0. Worse, though, the w