From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnGZx-0003wg-M9 for qemu-devel@nongnu.org; Thu, 13 Jun 2013 19:05:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnGZw-0008Bq-QZ for qemu-devel@nongnu.org; Thu, 13 Jun 2013 19:05:17 -0400 Received: from mail-qa0-x232.google.com ([2607:f8b0:400d:c00::232]:42850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnGZw-0008Bf-Lp for qemu-devel@nongnu.org; Thu, 13 Jun 2013 19:05:16 -0400 Received: by mail-qa0-f50.google.com with SMTP id l18so16221qak.16 for ; Thu, 13 Jun 2013 16:05:16 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51BA5029.3010702@redhat.com> Date: Thu, 13 Jun 2013 19:05:13 -0400 From: Paolo Bonzini MIME-Version: 1.0 References: <1370882347-31129-1-git-send-email-mst@redhat.com> <87r4g9rdwe.fsf@codemonkey.ws> <51B62C48.5060303@redhat.com> <87ehc920ym.fsf@codemonkey.ws> <51B63A74.1030905@redhat.com> <87mwqxzlke.fsf@codemonkey.ws> <20130611073548.GE31474@redhat.com> In-Reply-To: <20130611073548.GE31474@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: "Michael S. Tsirkin" Cc: Peter Maydell , Jordan Justen , seabios@seabios.org, qemu-devel , Laszlo Ersek , Kevin O'Connor , Gerd Hoffmann , Anthony Liguori , David Woodhouse Il 11/06/2013 03:35, Michael S. Tsirkin ha scritto: > Two points > 1. You never explained what you mean by un-hardware like. > > Currently bios is in a ROM device, and it has a > template for ACPI tables together with it. > This simply moves the tables to a separate ROM > device (FW CFG), and generalizes the template using > the linker interface. > One ROM is hardware-like but two is un-hardware like? > > ACPI tables are static so it's likely lots of > hardware has at least some of them pre-formatted in flash, > then tweak some things like SRAT a bit. Also having a "bootstrap processor" was certainly not unheard of some decades ago. Right now we get all sort of SMM hacks instead of adding more processors, but it's certainly not un-hardware like. Maybe we should just have a bytecode interpreter and write the ACPI generator in that language. :) Paolo