From db17a1804aa783d420fd2752691ac51d51ece6ac Mon Sep 17 00:00:00 2001 From: Mike Larkin Date: Thu, 6 Jul 2017 06:19:16 +0000 Subject: 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 --- sys/arch/amd64/include/vmmvar.h | 4 ++-- sys/arch/i386/include/vmmvar.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') 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 * @@ -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 -- cgit v1.2.3