From nobody Mon Nov 25 01:26:43 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=163.com ARC-Seal: i=1; a=rsa-sha256; t=1718285410; cv=none; d=zohomail.com; s=zohoarc; b=E7J/s70G0p9Z3dbR3XWuBNbj8U/Tuwc8+BzxJoyqaKMbbxZE8VC/EXsVaIfhbpd3v9G5lcnleqoybRNVWNWsqwps/N4hsAHT+r/qp9hZgqAgWDDAu4eYnliLSxWOnTNsi6RYv+dPSD1hIk1vBpuHXB6x3Ur0sYRM0iDFS6t/YLE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1718285410; h=Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=BGztXnyZs8pPzHIeDAXzDYimt5pyyT2LxrRWGHuD+k4=; b=T3L7b/ygRBkRyul+7vCT9kniHZWLlm9C4oSCC3Oi8tMyhTtbxh+GspyF9Jf8peCtCOUW7Yi12Av9P2aZhdtwnceZYj0GxCUvaSuFnq3XCSBRV2v6MLQuZx8VoMcvunfLiCnzhP1VKhsxI47v70tOfVzqo5rnhLKIw1CrzQ3zcmE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1718285410096857.3599841751186; Thu, 13 Jun 2024 06:30:10 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHkVw-0004cg-E0; Thu, 13 Jun 2024 09:29:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHgqQ-000747-QY for qemu-devel@nongnu.org; Thu, 13 Jun 2024 05:34:10 -0400 Received: from m16.mail.163.com ([117.135.210.5]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHgqK-0007FQ-Hl for qemu-devel@nongnu.org; Thu, 13 Jun 2024 05:34:10 -0400 Received: from localhost.localdomain (unknown [113.120.52.251]) by gzga-smtp-mta-g1-3 (Coremail) with SMTP id _____wAH7SP6vGpmR3kLIA--.23208S2; Thu, 13 Jun 2024 17:33:50 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=BGztXnyZs8pPzHIeDA XzDYimt5pyyT2LxrRWGHuD+k4=; b=XPctxuiTm0P87cq68wQQiacGWm2NpU4IUL XQuT6rKMAelFdXLkVO6k7RLVErkW+Z60ltYVUynuUigE2tec6CS5tlwm3VzIhX7i A/4dR0X+VD2UA/+3ehEYRnuYszz1JLGgDd738/Hg381KiwSTv4jQxJamEm51l/GB 55tMnDQa4= From: shenjiatong To: qemu-devel@nongnu.org Cc: shenjiatong Subject: [PATCH] hw/acpi: increase default size for rsdp file Date: Thu, 13 Jun 2024 17:33:45 +0800 Message-Id: <20240613093345.4020-1-yshxxsjt715@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: _____wAH7SP6vGpmR3kLIA--.23208S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7JFW3WrWkCF15Gr1kXF15twb_yoWfGFX_WF n5AF45Wwn8Xr97CFsFqryYyw1Sg3y3Ww1S9w13XwnrJa4Ygw45GFs5uFs3Za15K34xWFy3 A347Xr1UA3ySgjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUbUGYtUUUUU== X-Originating-IP: [113.120.52.251] X-CM-SenderInfo: h1vk555vmwliqv6rljoofrz/1tbiLh-8L2V4JicHVgAAsv Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=117.135.210.5; envelope-from=yshxxsjt715@163.com; helo=m16.mail.163.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_BL=0.001, RCVD_IN_MSPIKE_L3=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 13 Jun 2024 09:29:14 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @163.com) X-ZM-MESSAGEID: 1718285411084100001 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: shenjiatong Size of RSDP file will be different on an OS configured with PAGE_SIZE of 64 KiB. This will eventually blocks live migration from a different hosts which has the same haredware spec. So increase this default max size to 0x10000 (64 KiB). Signed-off-by: shenjiatong --- hw/acpi/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/acpi/utils.c b/hw/acpi/utils.c index 0c486ea29f..85f6ff36f1 100644 --- a/hw/acpi/utils.c +++ b/hw/acpi/utils.c @@ -37,7 +37,7 @@ MemoryRegion *acpi_add_rom_blob(FWCfgCallback update, voi= d *opaque, } else if (!strcmp(name, ACPI_BUILD_LOADER_FILE)) { max_size =3D 0x10000; } else if (!strcmp(name, ACPI_BUILD_RSDP_FILE)) { - max_size =3D 0x1000; + max_size =3D 0x10000; } else { g_assert_not_reached(); } --=20 2.17.1