From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40684 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKXos-00033E-T4 for qemu-devel@nongnu.org; Mon, 22 Nov 2010 09:56:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKXok-0006pF-72 for qemu-devel@nongnu.org; Mon, 22 Nov 2010 09:56:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKXok-0006p2-0A for qemu-devel@nongnu.org; Mon, 22 Nov 2010 09:56:30 -0500 Date: Mon, 22 Nov 2010 16:56:16 +0200 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] Re: [PATCH] PCI: Bus number from the bridge, not the device Message-ID: <20101122145616.GC30157@redhat.com> References: <20101121144844.GA21647@redhat.com> <20101121160110.GE7948@redhat.com> <20101121182203.GB26701@redhat.com> <20101121192959.GA13157@redhat.com> <20101121203931.GA29831@redhat.com> <20101122073707.GF7948@redhat.com> <20101122081657.GA11010@redhat.com> <20101122130451.GG7948@redhat.com> <20101122145029.GA30157@redhat.com> <20101122145232.GL7948@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101122145232.GL7948@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 Mon, Nov 22, 2010 at 04:52:32PM +0200, Gleb Natapov wrote: > On Mon, Nov 22, 2010 at 04:50:29PM +0200, Michael S. Tsirkin wrote: > > On Mon, Nov 22, 2010 at 03:04:51PM +0200, Gleb Natapov wrote: > > > On Mon, Nov 22, 2010 at 10:16:57AM +0200, Michael S. Tsirkin wrote: > > > > On Mon, Nov 22, 2010 at 09:37:07AM +0200, Gleb Natapov wrote: > > > > > > > > It's probably required to make them stable anyway. > > > > > > > > > > > > > > > Why? > > > > > > > > > > > > To avoid bus renumbering on reboot after you add a pci-to-pci bridge. > > > > > > > > > > > Why should qemu care? > > > > > > > > Stable bus numbering is a feature *users* care about, because > > > > some Guest OSes get confused when a card gets moved to another > > > > bus. > > > > > > > So if user cares about it it should not change HW configuration of QEMU. > > > I guess those OSes knows how to handle hot-pluggable equipment otherwise > > > they will get confused on real HW too. Why QEMU should care to preserve > > > something in a face of configuration change? > > > > > > -- > > > Gleb. > > > > We've been there, weren't we? See > > http://fedoraproject.org/wiki/Features/KVM_Stable_PCI_Addresses#KVM_Stable_PCI_Addresses > > > This is about stable HW configuration. Exactly. We have the same need for nested bridges and devices behind them. > -- > Gleb.