qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] hw/acpi: increase default size for rsdp file


From: shenjiatong
Subject: [PATCH] hw/acpi: increase default size for rsdp file
Date: Thu, 13 Jun 2024 17:33:45 +0800

From: shenjiatong <yshxxsjt715@gmail.com>

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 <yshxxsjt715@gmail.com>
---
 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, void 
*opaque,
     } else if (!strcmp(name, ACPI_BUILD_LOADER_FILE)) {
         max_size = 0x10000;
     } else if (!strcmp(name, ACPI_BUILD_RSDP_FILE)) {
-        max_size = 0x1000;
+        max_size = 0x10000;
     } else {
         g_assert_not_reached();
     }
-- 
2.17.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]