Received: from eggs.gnu.org ([2001:4830:134:3::10]:49137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4CXK-0003Po-TR for qemu-devel@nongnu.org; Sun, 14 Jun 2015 14:21:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4CXF-0003ej-Um for qemu-devel@nongnu.org; Sun, 14 Jun 2015 14:21:38 -0400 Received: from mail-qk0-f176.google.com ([209.85.220.176]:32811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4CXF-0003ef-Qd for qemu-devel@nongnu.org; Sun, 14 Jun 2015 14:21:33 -0400 Received: by qkhg32 with SMTP id g32so43295663qkh.0 for ; Sun, 14 Jun 2015 11:21:33 -0700 (PDT) Date: Sun, 14 Jun 2015 14:21:31 -0400 From: Kevin O'Connor Message-ID: <20150614182131.GA27255@morn.localdomain> References: <5579C959.8020607@redhat.com> <5579D4D0.6010906@redhat.com> <20150611192427.GB28252@morn.localdomain> <557AA59E.6050509@redhat.com> <20150612130326.GA3622@morn.localdomain> <557AFE80.4040402@redhat.com> <20150612184009.GA3963@morn.localdomain> <20150614140322-mutt-send-email-mst@redhat.com> <20150614145022.GC10633@morn.localdomain> <20150614195525-mutt-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150614195525-mutt-send-email-mst@redhat.com> Subject: Re: [Qemu-devel] [PATCH V2] pci: fixes to allow booting from extra root pci buses. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Marcel Apfelbaum , seabios@seabios.org, Laszlo Ersek , Gerd Hoffmann , qemu-devel@nongnu.org On Sun, Jun 14, 2015 at 08:06:22PM +0200, Michael S. Tsirkin wrote: > To summarise, you feel that modifying bus id without reordering > bus ids between roots is likely, modifications that would > cause reordering are unlikely, thus counting bus ids > in order gives a stable index. Is that right? Yes. > To be on the safe side, it would be nice to have bios skip some > fields/properties when parsing paths, so that if we want to use another > id in the future, we can supply both id types. I haven't looked at the > parsing code - maybe it does this already? SeaBIOS already does that. (SeaBIOS doesn't parse the bootorder file - it generates a "glob" like pattern for each device and then sees if that pattern matches a line in the bootorder file.) Also, I don't have a strong objection to Laszlo's SeaBIOS patch (the one that does the runningOnQEMU() check). (I still think it's quirky to use bus-id in the file, but it's not a show stopper if it's just for QEMU.) -Kevin