From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=48632 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKGhQ-0001RW-EX for qemu-devel@nongnu.org; Sun, 21 Nov 2010 15:39:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKGhP-0007Wr-Bv for qemu-devel@nongnu.org; Sun, 21 Nov 2010 15:39:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKGhP-0007Wl-3h for qemu-devel@nongnu.org; Sun, 21 Nov 2010 15:39:47 -0500 Date: Sun, 21 Nov 2010 22:39:31 +0200 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] Re: [PATCH] PCI: Bus number from the bridge, not the device Message-ID: <20101121203931.GA29831@redhat.com> References: <20101120201709.GA8388@redhat.com> <20101121083211.GB7948@redhat.com> <20101121095018.GA19477@redhat.com> <20101121101903.GC7948@redhat.com> <20101121115326.GB19477@redhat.com> <20101121125014.GD7948@redhat.com> <20101121144844.GA21647@redhat.com> <20101121160110.GE7948@redhat.com> <20101121182203.GB26701@redhat.com> <20101121192959.GA13157@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101121192959.GA13157@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: Isaku Yamahata , Alex Williamson , Markus Armbruster , qemu-devel@nongnu.org On Sun, Nov 21, 2010 at 09:29:59PM +0200, Gleb Natapov wrote: > > We can control the bus numbers that the BIOS will assign to pci root. > And if you need to insert device that sits behind pci-to-pci bridge? Do > you want to control that bus address too? And bus number do not unambiguously > describe pci root since two roots can have same bus number just fine. They have to have different segment numbers. > > It's probably required to make them stable anyway. > > > Why? To avoid bus renumbering on reboot after you add a pci-to-pci bridge. -- MST