Received: from eggs.gnu.org ([2001:4830:134:3::10]:50116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6MFE-0005ox-M5 for qemu-devel@nongnu.org; Tue, 08 Dec 2015 12:40:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6MFB-0003fX-7w for qemu-devel@nongnu.org; Tue, 08 Dec 2015 12:40:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6MFB-0003eg-40 for qemu-devel@nongnu.org; Tue, 08 Dec 2015 12:40:05 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 0D247C0B0236 for ; Tue, 8 Dec 2015 17:40:04 +0000 (UTC) Date: Tue, 8 Dec 2015 15:40:01 -0200 From: Eduardo Habkost Message-ID: <20151208174001.GL14490@thinpad.lan.raisama.net> References: <1449020831-8414-1-git-send-email-ehabkost@redhat.com> <1449020831-8414-5-git-send-email-ehabkost@redhat.com> <5665A4AB.8020809@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5665A4AB.8020809@gmail.com> Subject: Re: [Qemu-devel] [PATCH 04/16] acpi: Make acpi_setup() get PCMachineState as argument List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: marcel@redhat.com Cc: Igor Mammedov , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Marcel Apfelbaum On Mon, Dec 07, 2015 at 05:24:27PM +0200, Marcel Apfelbaum wrote: > On 12/02/2015 03:46 AM, Eduardo Habkost wrote: > >Lots of PcGuestInfo fields are duplicates of PCMachineClass or > >PCMachineState fields. Pass PCMachineState as argument to > >acpi_setup(), so we can simply let the ACPI code use those fields > >directly. > > I completely agree with removing duplicated fields and using PCMachine > fields directly, but this not what this patch does. > It only extracts PcGuestInfo info from the machine. I should have appended "later" to the commit message. "So we are able to simply let the ACPI code use those fields later (in another commit)". The goal of this commit is to just change the function signature to allow us to move the fields later. Maybe I will squash some of those changes together in a new version of the series. -- Eduardo