summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2017-07-12 05:32:51 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2017-07-12 05:32:51 +0000
commit32c22feee9dbe7a1684c406538046d34b0fb75ec (patch)
tree1ec6c0567bef4c74fffe331bb622df42aca7112a /sys
parent7be497ae3062e63be639f42d7d7417697a658c67 (diff)
Make max memory for VMs equal to MAXDSIZ to avoid failing later during
VM setup. ok pd
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/include/vmmvar.h4
-rw-r--r--sys/arch/i386/include/vmmvar.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h
index add9f9a7dbe..6a7a887b50a 100644
--- a/sys/arch/amd64/include/vmmvar.h
+++ b/sys/arch/amd64/include/vmmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmmvar.h,v 1.42 2017/07/06 06:19:15 mlarkin Exp $ */
+/* $OpenBSD: vmmvar.h,v 1.43 2017/07/12 05:32:50 mlarkin Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -29,7 +29,7 @@
#define VMM_MAX_NAME_LEN 32
#define VMM_MAX_KERNEL_PATH 128
#define VMM_MAX_VCPUS_PER_VM 64
-#define VMM_MAX_VM_MEM_SIZE (512 * 1024)
+#define VMM_MAX_VM_MEM_SIZE 32768
#define VMM_MAX_NICS_PER_VM 4
#define VMM_PCI_MMIO_BAR_BASE 0xF0000000
diff --git a/sys/arch/i386/include/vmmvar.h b/sys/arch/i386/include/vmmvar.h
index 351d896230a..a386a5a3a04 100644
--- a/sys/arch/i386/include/vmmvar.h
+++ b/sys/arch/i386/include/vmmvar.h
@@ -28,7 +28,7 @@
#define VMM_MAX_NAME_LEN 32
#define VMM_MAX_KERNEL_PATH 128
#define VMM_MAX_VCPUS_PER_VM 64
-#define VMM_MAX_VM_MEM_SIZE 2048
+#define VMM_MAX_VM_MEM_SIZE 3072
#define VMM_MAX_NICS_PER_VM 4
#define VMM_PCI_MMIO_BAR_BASE 0xF0000000