Received: from eggs.gnu.org ([2001:4830:134:3::10]:56055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkv88-0004sP-MX for qemu-devel@nongnu.org; Thu, 15 May 2014 08:51:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wkv82-00047A-JI for qemu-devel@nongnu.org; Thu, 15 May 2014 08:51:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkv82-00045x-Bv for qemu-devel@nongnu.org; Thu, 15 May 2014 08:51:18 -0400 Message-ID: <1400158290.14303.54.camel@localhost.localdomain> From: Marcel Apfelbaum Date: Thu, 15 May 2014 15:51:30 +0300 In-Reply-To: <20140515144534.0c8e8d87@nial.usersys.redhat.com> References: <1399553920-3358-1-git-send-email-marcel.a@redhat.com> <20140515144534.0c8e8d87@nial.usersys.redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] apci: fix ACPI tables for -no-hpet option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: qemu-devel@nongnu.org, aliguori@amazon.com, mst@redhat.com On Thu, 2014-05-15 at 14:45 +0200, Igor Mammedov wrote: > On Thu, 8 May 2014 15:58:40 +0300 > Marcel Apfelbaum wrote: > > > A wrong offset was added to the tables pointed by RSDT > > if the HPET table is not present. > > > > Signed-off-by: Marcel Apfelbaum > > --- > > hw/i386/acpi-build.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c > > index c98df88..d65fab0 100644 > > --- a/hw/i386/acpi-build.c > > +++ b/hw/i386/acpi-build.c > > @@ -1417,8 +1417,8 @@ void acpi_build(PcGuestInfo *guest_info, AcpiBuildTables *tables) > > acpi_add_table(table_offsets, tables->table_data); > > > > build_madt(tables->table_data, tables->linker, &cpu, guest_info); > > - acpi_add_table(table_offsets, tables->table_data); > > if (misc.has_hpet) { > > + acpi_add_table(table_offsets, tables->table_data); > > build_hpet(tables->table_data, tables->linker); > > } > > if (guest_info->numa_nodes) { > > Reviewed-By: Igor Mammedov Hi Igor, Thanks for the review, but Michael beat me and pushed a fix sooner :) Marcel