From b780d22e50e3c969d13e6ebb4b6cb8273ebd232f Mon Sep 17 00:00:00 2001 From: mlarkin Date: Sat, 20 Jan 2024 20:11:24 +0000 Subject: [PATCH] vmm(4)/vmd(8)/vmctl(8): increase max VM mem size. MAXDSIZ was cranked to 128GB back in April 2023, but vmd(8) was limiting VM RAM size to the old value (32GB). --- sys/arch/amd64/include/vmmvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h index a0131892ef4..e6a35211b0f 100644 --- a/sys/arch/amd64/include/vmmvar.h +++ b/sys/arch/amd64/include/vmmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmmvar.h,v 1.97 2024/01/10 04:13:59 dv Exp $ */ +/* $OpenBSD: vmmvar.h,v 1.98 2024/01/20 20:11:24 mlarkin Exp $ */ /* * Copyright (c) 2014 Mike Larkin * @@ -28,7 +28,7 @@ #define VMM_MAX_NAME_LEN 64 #define VMM_MAX_VCPUS 512 #define VMM_MAX_VCPUS_PER_VM 64 -#define VMM_MAX_VM_MEM_SIZE 32L * 1024 * 1024 * 1024 /* 32 GiB */ +#define VMM_MAX_VM_MEM_SIZE 128L * 1024 * 1024 * 1024 #define VMM_MAX_NICS_PER_VM 4 #define VMM_PCI_MMIO_BAR_BASE 0xF0000000ULL -- 2.20.1