diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2017-07-06 06:19:16 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2017-07-06 06:19:16 +0000 |
commit | db17a1804aa783d420fd2752691ac51d51ece6ac (patch) | |
tree | e49ba0726456a1ef713f5f8b88f5dd2f759ed26c /sys | |
parent | 475779e33f439bd0ad6eaab3282fde42d9808f9e (diff) |
vmd: increase the max number of disks from 2 to 4. Requires kernel rebuild
as a struct passed to vmm has changed size.
ok deraadt, pd
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/include/vmmvar.h | 4 | ||||
-rw-r--r-- | sys/arch/i386/include/vmmvar.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h index db758e9d02c..add9f9a7dbe 100644 --- a/sys/arch/amd64/include/vmmvar.h +++ b/sys/arch/amd64/include/vmmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmmvar.h,v 1.41 2017/05/30 20:31:24 mlarkin Exp $ */ +/* $OpenBSD: vmmvar.h,v 1.42 2017/07/06 06:19:15 mlarkin Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -24,7 +24,7 @@ #define VMM_HV_SIGNATURE "OpenBSDVMM58" #define VMM_MAX_MEM_RANGES 16 -#define VMM_MAX_DISKS_PER_VM 2 +#define VMM_MAX_DISKS_PER_VM 4 #define VMM_MAX_PATH_DISK 128 #define VMM_MAX_NAME_LEN 32 #define VMM_MAX_KERNEL_PATH 128 diff --git a/sys/arch/i386/include/vmmvar.h b/sys/arch/i386/include/vmmvar.h index 7e62b319c71..351d896230a 100644 --- a/sys/arch/i386/include/vmmvar.h +++ b/sys/arch/i386/include/vmmvar.h @@ -23,13 +23,13 @@ #define VMM_HV_SIGNATURE "OpenBSDVMM58" #define VMM_MAX_MEM_RANGES 16 -#define VMM_MAX_DISKS_PER_VM 2 +#define VMM_MAX_DISKS_PER_VM 4 #define VMM_MAX_PATH_DISK 128 #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_NICS_PER_VM 2 +#define VMM_MAX_NICS_PER_VM 4 #define VMM_PCI_MMIO_BAR_BASE 0xF0000000 #define VMM_PCI_MMIO_BAR_END 0xF0FFFFFF |