summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2024-01-20 20:11:25 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2024-01-20 20:11:25 +0000
commit12efaab926996354b2530a129962bf33180ae82b (patch)
treea8e98eec0df3be1c7cf6de6d37dd73642d05e7bd /sys
parent90ddbc6f481fc2cc1a095c4a4dda5c8a9e2e81a1 (diff)
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).
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/include/vmmvar.h4
1 files 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 <mlarkin@openbsd.org>
*
@@ -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