Received: from eggs.gnu.org ([2001:4830:134:3::10]:49970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmDiH-0005Dn-On for qemu-devel@nongnu.org; Mon, 10 Jun 2013 21:49:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UmDiC-0004Bk-RX for qemu-devel@nongnu.org; Mon, 10 Jun 2013 21:49:33 -0400 Received: from mail-qa0-x22b.google.com ([2607:f8b0:400d:c00::22b]:55026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmDiC-0004Be-OM for qemu-devel@nongnu.org; Mon, 10 Jun 2013 21:49:28 -0400 Received: by mail-qa0-f43.google.com with SMTP id d13so2660402qak.2 for ; Mon, 10 Jun 2013 18:49:28 -0700 (PDT) Date: Mon, 10 Jun 2013 21:49:25 -0400 From: Kevin O'Connor Message-ID: <20130611014925.GA25031@morn.localdomain> References: <51B62C48.5060303@redhat.com> <87ehc920ym.fsf@codemonkey.ws> <51B63A74.1030905@redhat.com> <87mwqxzlke.fsf@codemonkey.ws> <20130610230557.GA13553@morn.localdomain> <871u89v8u2.fsf@codemonkey.ws> <20130611002304.GA18260@morn.localdomain> <20130611011959.GA22703@morn.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] qemu: piix: PCI bridge ACPI hotplug support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , "Michael S. Tsirkin" , Jordan Justen , seabios@seabios.org, qemu-devel , Gerd Hoffmann , Laszlo Ersek , David Woodhouse On Mon, Jun 10, 2013 at 08:25:15PM -0500, Anthony Liguori wrote: > On Mon, Jun 10, 2013 at 8:19 PM, Kevin O'Connor wrote: > > I do understand your desire to pass this stuff as parameters, but I > > really don't see it as feasible. I'm hoping that if you can write up > > some examples with specifics you'll either enlighten me or you'll see > > the difficulties I'm trying to describe. > > Is your basic argument that generating these tables is hard, QEMU can > and should just hard code them and change them whenever it feels like > without involving SeaBIOS? Yes - that's my basic argument. Generating the content in a way that is future proof (or future flexible) is very hard. The DSDT is particularly painful. I'm also afraid of introducing a lot of complexity when simply hardcoding the content (in the right place) is the better option. > If that's what it boils down to, I'll look more closely at it. Thanks, -Kevin