79c4324644
Change-Id: I2d302dda68298877c65c99147f5bf22186a59aac
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
From bf72a9439d06fe35e3c7246b60e1c5b7b8058459 Mon Sep 17 00:00:00 2001
|
|
From: jiangdongxu <jiangdongxu1@huawei.com>
|
|
Date: Fri, 11 Feb 2022 16:34:23 +0800
|
|
Subject: [PATCH 6/6] seabios: increase the seabios high mem zone size
|
|
|
|
In terms of version and specification, under the maximum configuration
|
|
specification of the number of vcpus, virtio blocks and other features,
|
|
there exists bottleneck in seabios high_mem_zone, which results in the
|
|
memory application failure and causes the vm to fail to start.
|
|
|
|
Increase BUILD_MAX_HIGHTABLE to 512k.
|
|
|
|
Signed-off-by: liuxiangdong <liuxiangdong5@huawei.com>
|
|
Signed-off-by: jiangdongxu <jiangdongxu1@huawei.com>
|
|
---
|
|
roms/seabios/src/config.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/roms/seabios/src/config.h b/roms/seabios/src/config.h
|
|
index 93c8dbc2d5..9abd43474e 100644
|
|
--- a/roms/seabios/src/config.h
|
|
+++ b/roms/seabios/src/config.h
|
|
@@ -17,7 +17,7 @@
|
|
// Maximum number of map entries in the e820 map
|
|
#define BUILD_MAX_E820 32
|
|
// Space to reserve in high-memory for tables
|
|
-#define BUILD_MAX_HIGHTABLE (256*1024)
|
|
+#define BUILD_MAX_HIGHTABLE (512*1024)
|
|
// Largest supported externaly facing drive id
|
|
#define BUILD_MAX_EXTDRIVE 16
|
|
// Number of bytes the smbios may be and still live in the f-segment
|
|
--
|
|
2.27.0
|
|
|