summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2019-03-02 08:53:07 +0000
committerajacoutot <ajacoutot@openbsd.org>2019-03-02 08:53:07 +0000
commit42c58ea858d371be83d15b8373ac7ef2338757f4 (patch)
treec390ce62166c39fb265267611dddde76e0f2984e
parentLimited the number of allowed stacked wsmux devices. A sufficiently long chain (diff)
downloadwireguard-openbsd-42c58ea858d371be83d15b8373ac7ef2338757f4.tar.xz
wireguard-openbsd-42c58ea858d371be83d15b8373ac7ef2338757f4.zip
Bump VMM_MAX_NAME_LEN to 64 to allow for longer vm names.
ok mlarkin@
-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 8479e19abfd..2a011ccac98 100644
--- a/sys/arch/amd64/include/vmmvar.h
+++ b/sys/arch/amd64/include/vmmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmmvar.h,v 1.60 2019/02/20 06:59:16 mlarkin Exp $ */
+/* $OpenBSD: vmmvar.h,v 1.61 2019/03/02 08:53:07 ajacoutot Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -27,7 +27,7 @@
#define VMM_MAX_DISKS_PER_VM 4
#define VMM_MAX_PATH_DISK 128
#define VMM_MAX_PATH_CDROM 128
-#define VMM_MAX_NAME_LEN 32
+#define VMM_MAX_NAME_LEN 64
#define VMM_MAX_KERNEL_PATH 128
#define VMM_MAX_VCPUS_PER_VM 64
#define VMM_MAX_VM_MEM_SIZE 32768