Received: from eggs.gnu.org ([208.118.235.92]:41926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbtYP-0006YI-8i for qemu-devel@nongnu.org; Fri, 23 Nov 2012 08:44:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbtYL-0002kR-2K for qemu-devel@nongnu.org; Fri, 23 Nov 2012 08:44:25 -0500 Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <20121123134414.GA9153@redhat.com> Date: Fri, 23 Nov 2012 14:44:15 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <003DB287-169A-4A79-BE7D-5507DB1BEC92@suse.de> References: <20121121123600.GV18362@truffula.fritz.box> <20121121131339.GA5730@redhat.com> <20121121132157.GW18362@truffula.fritz.box> <50ACD6AC.6030001@suse.de> <20121121152737.GC5730@redhat.com> <20121122022718.GY18362@truffula.fritz.box> <20121122072303.GA23260@redhat.com> <20121123041307.GD5588@truffula.fritz.box> <20121123105323.GB7051@redhat.com> <20121123125951.GC4071@truffula.fritz.box> <20121123134414.GA9153@redhat.com> Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: "qemu-ppc@nongnu.org List" , qemu-devel qemu-devel , David Gibson On 23.11.2012, at 14:44, Michael S. Tsirkin wrote: > On Fri, Nov 23, 2012 at 11:59:51PM +1100, David Gibson wrote: >>> Look, even if solution using a required property is less elegant for = CLI >>> use, it will work, won't it? >>> So how about we merge it so that things work, and then we can = discuss a >>> patch on top that auto-generates this property? >>=20 >> Well, there you have a point. And actually I've realised there are >> other things we need to assign uniquely for each PHB and don't yet = (IO >> window addresses). So I need to look at a wider rework of this, = which >> I'll start on next week. >=20 > Fine. Basically my point is it's typically a mistake to > make some userspace visible parameter depend on order > of initialization of devices in qemu. I don't insist > on making users fully specify such parameters but it > is one way to do this. I think it's reasonable to require to be able to specify it. If you = don't, it's fine to base on device order IMHO. But you have to have the = ability to specify it by hand if your management tool of choice actually = wants reproducible results. Alex