Received: from eggs.gnu.org ([2001:4830:134:3::10]:38186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzm8k-00042K-9A for qemu-devel@nongnu.org; Thu, 27 Oct 2016 10:58:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzm8g-0000Zs-9Q for qemu-devel@nongnu.org; Thu, 27 Oct 2016 10:58:46 -0400 Received: from server.eikelenboom.it ([91.121.65.215]:36810) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzm8g-0000Z0-37 for qemu-devel@nongnu.org; Thu, 27 Oct 2016 10:58:42 -0400 Date: Thu, 27 Oct 2016 16:58:34 +0200 From: Sander Eikelenboom Message-ID: <1412153282.20161027165834@eikelenboom.it> In-Reply-To: <1477576269-31748-1-git-send-email-wei.liu2@citrix.com> References: <1477576269-31748-1-git-send-email-wei.liu2@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] xenfv: set has_acpi_build to false List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wei Liu Cc: qemu-devel@nongnu.org, Xen-devel , Igor Mammedov , Anthony PERARD , Stefano Stabellini Thursday, October 27, 2016, 3:51:09 PM, you wrote: > Xen's toolstack is in charge of building ACPI tables. Skip ACPI table > building and loading in QEMU by setting has_acpi_build to false for > xenfv machine. > This issue is discovered due to direct kernel boot on Xen doesn't boot > anymore, because the new ACPI tables cause the guest to exceed its > memory allocation limit. > Reported-by: Sander Eikelenboom > Signed-off-by: Wei Liu Just given this patch a spin and you may add a: Tested-by: Sander Eikelenboom Thanks again! -- Sander > --- > Cc: Igor Mammedov > Cc: Anthony PERARD > Cc: Stefano Stabellini > Cc: Sander Eikelenboom > --- > hw/i386/pc_piix.c | 4 ++++ > 1 file changed, 4 insertions(+) > diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c > index a54a468..08596a1 100644 > --- a/hw/i386/pc_piix.c > +++ b/hw/i386/pc_piix.c > @@ -1094,10 +1094,14 @@ DEFINE_PC_MACHINE(isapc, "isapc", pc_init_isa, > #ifdef CONFIG_XEN > static void xenfv_machine_options(MachineClass *m) > { > + PCMachineClass *pcmc = PC_MACHINE_CLASS(m); > + > m->desc = "Xen Fully-virtualized PC"; > m->max_cpus = HVM_MAX_VCPUS; > m->default_machine_opts = "accel=xen"; > m->hot_add_cpu = pc_hot_add_cpu; > + + pcmc->>has_acpi_build = false; > } > > DEFINE_PC_MACHINE(xenfv, "xenfv", pc_xen_hvm_init,