From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56711 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKXjC-0007xY-AW for qemu-devel@nongnu.org; Mon, 22 Nov 2010 09:50:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKXjA-0005ZD-P4 for qemu-devel@nongnu.org; Mon, 22 Nov 2010 09:50:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:21798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKXjA-0005Z1-IP for qemu-devel@nongnu.org; Mon, 22 Nov 2010 09:50:44 -0500 Date: Mon, 22 Nov 2010 16:50:29 +0200 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] Re: [PATCH] PCI: Bus number from the bridge, not the device Message-ID: <20101122145029.GA30157@redhat.com> References: <20101121115326.GB19477@redhat.com> <20101121125014.GD7948@redhat.com> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101122130451.GG7948@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 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 -- MST