Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-17 Thread Michael S. Tsirkin
On Tue, Apr 16, 2013 at 12:05:40PM -0400, Laine Stump wrote: On 04/15/2013 05:58 PM, Michael S. Tsirkin wrote: On Mon, Apr 15, 2013 at 11:27:03AM -0600, Alex Williamson wrote: On Fri, 2013-04-12 at 11:46 -0400, Laine Stump wrote: On 04/11/2013 07:23 AM, Michael S. Tsirkin wrote: On Thu,

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-17 Thread Michael S. Tsirkin
On Tue, Apr 16, 2013 at 12:35:29PM -0400, Laine Stump wrote: On 04/15/2013 06:14 PM, Don Dutile wrote: On 04/15/2013 04:09 PM, Laine Stump wrote: On 04/15/2013 06:29 AM, Daniel P. Berrange wrote: On Fri, Apr 12, 2013 at 11:46:15AM -0400, Laine Stump wrote: On 04/11/2013 07:23 AM, Michael

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-17 Thread Laine Stump
On 04/16/2013 01:35 PM, Daniel P. Berrange wrote: Can we just leave multi-domains out of this discussion for now. IMHO they are just causing more confusion to an already complicated problem. Lets focus on just solving the problem of PCI bridges which is what we actually need right now. Sure.

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-16 Thread Laine Stump
On 04/15/2013 05:58 PM, Michael S. Tsirkin wrote: On Mon, Apr 15, 2013 at 11:27:03AM -0600, Alex Williamson wrote: On Fri, 2013-04-12 at 11:46 -0400, Laine Stump wrote: On 04/11/2013 07:23 AM, Michael S. Tsirkin wrote: On Thu, Apr 11, 2013 at 07:03:56AM -0400, Laine Stump wrote: On 04/10/2013

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-16 Thread Laine Stump
On 04/15/2013 06:14 PM, Don Dutile wrote: On 04/15/2013 04:09 PM, Laine Stump wrote: On 04/15/2013 06:29 AM, Daniel P. Berrange wrote: On Fri, Apr 12, 2013 at 11:46:15AM -0400, Laine Stump wrote: On 04/11/2013 07:23 AM, Michael S. Tsirkin wrote: On Thu, Apr 11, 2013 at 07:03:56AM -0400, Laine

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-16 Thread Daniel P. Berrange
On Tue, Apr 16, 2013 at 12:35:29PM -0400, Laine Stump wrote: On 04/15/2013 06:14 PM, Don Dutile wrote: On 04/15/2013 04:09 PM, Laine Stump wrote: On 04/15/2013 06:29 AM, Daniel P. Berrange wrote: On Fri, Apr 12, 2013 at 11:46:15AM -0400, Laine Stump wrote: On 04/11/2013 07:23 AM, Michael

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-16 Thread Daniel P. Berrange
On Tue, Apr 16, 2013 at 12:05:40PM -0400, Laine Stump wrote: On 04/15/2013 05:58 PM, Michael S. Tsirkin wrote: On Mon, Apr 15, 2013 at 11:27:03AM -0600, Alex Williamson wrote: On Fri, 2013-04-12 at 11:46 -0400, Laine Stump wrote: On 04/11/2013 07:23 AM, Michael S. Tsirkin wrote: it's

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-15 Thread Daniel P. Berrange
On Fri, Apr 12, 2013 at 11:46:15AM -0400, Laine Stump wrote: On 04/11/2013 07:23 AM, Michael S. Tsirkin wrote: On Thu, Apr 11, 2013 at 07:03:56AM -0400, Laine Stump wrote: On 04/10/2013 05:26 AM, Daniel P. Berrange wrote: So if we later allowed for mutiple PCI roots, then we'd have

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-15 Thread Alex Williamson
On Fri, 2013-04-12 at 11:46 -0400, Laine Stump wrote: On 04/11/2013 07:23 AM, Michael S. Tsirkin wrote: On Thu, Apr 11, 2013 at 07:03:56AM -0400, Laine Stump wrote: On 04/10/2013 05:26 AM, Daniel P. Berrange wrote: On Tue, Apr 09, 2013 at 04:06:06PM -0400, Laine Stump wrote: On 04/09/2013

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-15 Thread Michael S. Tsirkin
On Mon, Apr 15, 2013 at 11:27:03AM -0600, Alex Williamson wrote: On Fri, 2013-04-12 at 11:46 -0400, Laine Stump wrote: On 04/11/2013 07:23 AM, Michael S. Tsirkin wrote: On Thu, Apr 11, 2013 at 07:03:56AM -0400, Laine Stump wrote: On 04/10/2013 05:26 AM, Daniel P. Berrange wrote: On

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-15 Thread Don Dutile
On 04/15/2013 04:09 PM, Laine Stump wrote: On 04/15/2013 06:29 AM, Daniel P. Berrange wrote: On Fri, Apr 12, 2013 at 11:46:15AM -0400, Laine Stump wrote: On 04/11/2013 07:23 AM, Michael S. Tsirkin wrote: On Thu, Apr 11, 2013 at 07:03:56AM -0400, Laine Stump wrote: On 04/10/2013 05:26 AM,

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-14 Thread Michael S. Tsirkin
On Tue, Apr 09, 2013 at 09:59:50AM +0100, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 10:37:45PM +0300, Michael S. Tsirkin wrote: On Mon, Apr 08, 2013 at 03:32:07PM -0400, Laine Stump wrote: On 04/08/2013 12:48 PM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 12:37:49PM -0400,

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-12 Thread Laine Stump
On 04/11/2013 07:23 AM, Michael S. Tsirkin wrote: On Thu, Apr 11, 2013 at 07:03:56AM -0400, Laine Stump wrote: On 04/10/2013 05:26 AM, Daniel P. Berrange wrote: On Tue, Apr 09, 2013 at 04:06:06PM -0400, Laine Stump wrote: On 04/09/2013 04:58 AM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-11 Thread Laine Stump
On 04/10/2013 05:26 AM, Daniel P. Berrange wrote: On Tue, Apr 09, 2013 at 04:06:06PM -0400, Laine Stump wrote: On 04/09/2013 04:58 AM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 03:32:07PM -0400, Laine Stump wrote: Actually I do wonder if we should reprent a PCI root as two controller

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-11 Thread Michael S. Tsirkin
On Thu, Apr 11, 2013 at 07:03:56AM -0400, Laine Stump wrote: On 04/10/2013 05:26 AM, Daniel P. Berrange wrote: On Tue, Apr 09, 2013 at 04:06:06PM -0400, Laine Stump wrote: On 04/09/2013 04:58 AM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 03:32:07PM -0400, Laine Stump wrote:

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-10 Thread Daniel P. Berrange
On Tue, Apr 09, 2013 at 04:06:06PM -0400, Laine Stump wrote: On 04/09/2013 04:58 AM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 03:32:07PM -0400, Laine Stump wrote: Actually I do wonder if we should reprent a PCI root as two controller elements, one representing the actual PCI root

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-09 Thread Daniel P. Berrange
On Mon, Apr 08, 2013 at 03:32:07PM -0400, Laine Stump wrote: On 04/08/2013 12:48 PM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 12:37:49PM -0400, Laine Stump wrote: I think we're starting to get closer to the concrete problem that's bothering me. As I understand it (and again - what

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-09 Thread Daniel P. Berrange
On Mon, Apr 08, 2013 at 10:37:45PM +0300, Michael S. Tsirkin wrote: On Mon, Apr 08, 2013 at 03:32:07PM -0400, Laine Stump wrote: On 04/08/2013 12:48 PM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 12:37:49PM -0400, Laine Stump wrote: I think we're starting to get closer to the

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-09 Thread Daniel P. Berrange
On Mon, Apr 08, 2013 at 04:26:19PM -0600, Alex Williamson wrote: On Mon, 2013-04-08 at 12:37 -0400, Laine Stump wrote: On 04/05/2013 03:26 PM, Alex Williamson wrote: Sure. I just mean pci bus 0 (hmm, but actually this does point out a problem with my logic - the same namespace (well,

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-09 Thread Laine Stump
On 04/09/2013 04:58 AM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 03:32:07PM -0400, Laine Stump wrote: On 04/08/2013 12:48 PM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 12:37:49PM -0400, Laine Stump wrote: I think we're starting to get closer to the concrete problem that's

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-08 Thread Laine Stump
On 04/05/2013 03:26 PM, Alex Williamson wrote: On Fri, 2013-04-05 at 14:42 -0400, Laine Stump wrote: On 04/05/2013 01:38 PM, Daniel P. Berrange wrote: On Fri, Apr 05, 2013 at 12:32:04PM -0400, Laine Stump wrote: On 04/03/2013 11:50 AM, Ján Tomko wrote: From: liguang lig.f...@cn.fujitsu.com

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-08 Thread Daniel P. Berrange
On Mon, Apr 08, 2013 at 12:37:49PM -0400, Laine Stump wrote: On 04/05/2013 03:26 PM, Alex Williamson wrote: I think we're starting to get closer to the concrete problem that's bothering me. As I understand it (and again - what I understand has repeatedly been shown to be incorrect in this

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-08 Thread Laine Stump
On 04/08/2013 12:48 PM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 12:37:49PM -0400, Laine Stump wrote: I think we're starting to get closer to the concrete problem that's bothering me. As I understand it (and again - what I understand has repeatedly been shown to be incorrect in this

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-08 Thread Michael S. Tsirkin
On Mon, Apr 08, 2013 at 03:32:07PM -0400, Laine Stump wrote: On 04/08/2013 12:48 PM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 12:37:49PM -0400, Laine Stump wrote: I think we're starting to get closer to the concrete problem that's bothering me. As I understand it (and again - what

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-08 Thread Laine Stump
On 04/08/2013 03:37 PM, Michael S. Tsirkin wrote: On Mon, Apr 08, 2013 at 03:32:07PM -0400, Laine Stump wrote: On 04/08/2013 12:48 PM, Daniel P. Berrange wrote: On Mon, Apr 08, 2013 at 12:37:49PM -0400, Laine Stump wrote: I think we're starting to get closer to the concrete problem that's

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-08 Thread Alex Williamson
On Mon, 2013-04-08 at 12:37 -0400, Laine Stump wrote: On 04/05/2013 03:26 PM, Alex Williamson wrote: On Fri, 2013-04-05 at 14:42 -0400, Laine Stump wrote: On 04/05/2013 01:38 PM, Daniel P. Berrange wrote: On Fri, Apr 05, 2013 at 12:32:04PM -0400, Laine Stump wrote: On 04/03/2013 11:50 AM,

[libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-05 Thread Laine Stump
On 04/05/2013 01:38 PM, Daniel P. Berrange wrote: On Fri, Apr 05, 2013 at 12:32:04PM -0400, Laine Stump wrote: On 04/03/2013 11:50 AM, Ján Tomko wrote: From: liguang lig.f...@cn.fujitsu.com add a new controller type, then one can define a pci-bridge controller like this: controller

Re: [libvirt] new libvirt pci controller type and pcie/q35 (was Re: [PATCH 4/7] add pci-bridge controller type)

2013-04-05 Thread Alex Williamson
On Fri, 2013-04-05 at 14:42 -0400, Laine Stump wrote: On 04/05/2013 01:38 PM, Daniel P. Berrange wrote: On Fri, Apr 05, 2013 at 12:32:04PM -0400, Laine Stump wrote: On 04/03/2013 11:50 AM, Ján Tomko wrote: From: liguang lig.f...@cn.fujitsu.com add a new controller type, then one can