diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2016-10-12 06:56:55 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2016-10-12 06:56:55 +0000 |
commit | c2ce6297bb90e929d625e0ba5eaa43da16d0c57f (patch) | |
tree | 11a369d828fba34580e8265f24b86323e86979a7 /sys/arch/amd64/include/vmmvar.h | |
parent | 7d4b3f3e0d7e1b4d759b8b700baf7a1139f10961 (diff) |
Allow 4 vio(4) interfaces in each VM. Also fix a bad interrupt assignment that
caused IRQ9 to be shared between the second disk device and the vio(4)s,
which caused poor network performance.
ok reyk, stefan
Diffstat (limited to 'sys/arch/amd64/include/vmmvar.h')
-rw-r--r-- | sys/arch/amd64/include/vmmvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h index 13b9d261ee4..d573ee07fe4 100644 --- a/sys/arch/amd64/include/vmmvar.h +++ b/sys/arch/amd64/include/vmmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmmvar.h,v 1.21 2016/10/06 07:37:51 mlarkin Exp $ */ +/* $OpenBSD: vmmvar.h,v 1.22 2016/10/12 06:56:54 mlarkin Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -30,7 +30,7 @@ #define VMM_MAX_KERNEL_PATH 128 #define VMM_MAX_VCPUS_PER_VM 64 #define VMM_MAX_VM_MEM_SIZE (512 * 1024) -#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 |