diff mbox series

hw/acpi: increase default size for rsdp file

Message ID 20240613093345.4020-1-yshxxsjt715@163.com (mailing list archive)
State New
Headers show
Series hw/acpi: increase default size for rsdp file | expand

Commit Message

shenjiatong June 13, 2024, 9:33 a.m. UTC
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 mbox series

Patch

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();
     }