From b7cce16403a958d4d18743dac3e76ea981023be4 Mon Sep 17 00:00:00 2001 From: Zhao Yakui Date: Mon, 4 Nov 2019 12:01:05 +0800 Subject: [PATCH] ACRN/hv:change the max memory size of UOS from 8G to 16G Signed-off-by: Zhao Yakui Tested-by: Yang Ronnie --- devicemodel/samples/nuc/launch_uos.sh | 2 +- hypervisor/arch/x86/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devicemodel/samples/nuc/launch_uos.sh b/devicemodel/samples/nuc/launch_uos.sh index ed0a53fe3..24502299f 100755 --- a/devicemodel/samples/nuc/launch_uos.sh +++ b/devicemodel/samples/nuc/launch_uos.sh @@ -25,7 +25,7 @@ fi logger_setting="--logger_setting console,level=4;kmsg,level=3" #for memsize setting -mem_size=4096M +mem_size=12288M systemctl stop gdm.patch gdm diff --git a/hypervisor/arch/x86/Kconfig b/hypervisor/arch/x86/Kconfig index fb2e927c7..90636c37d 100644 --- a/hypervisor/arch/x86/Kconfig +++ b/hypervisor/arch/x86/Kconfig @@ -221,7 +221,7 @@ config SOS_RAM_SIZE config UOS_RAM_SIZE hex "Size of the User OS (UOS) RAM" - default 0x200000000 + default 0x400000000 help A 64-bit integer indicating the size of the User OS RAM (MMIO not included). Now we assume each UOS uses same amount of RAM size.