as a struct passed to vmm has changed size.
ok deraadt, pd
-/* $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>
*
#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_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
-/* $OpenBSD: pci.c,v 1.17 2017/04/21 04:18:47 mlarkin Exp $ */
+/* $OpenBSD: pci.c,v 1.18 2017/07/06 06:19:15 mlarkin Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
extern char *__progname;
/* PIC IRQs, assigned to devices in order */
-const uint8_t pci_pic_irqs[PCI_MAX_PIC_IRQS] = {3, 5, 7, 9, 10, 11, 14, 15};
+const uint8_t pci_pic_irqs[PCI_MAX_PIC_IRQS] = {3, 5, 6, 7, 9, 10, 11, 12,
+ 14, 15};
/*
* pci_add_bar
-/* $OpenBSD: pci.h,v 1.5 2017/03/25 15:47:37 mlarkin Exp $ */
+/* $OpenBSD: pci.h,v 1.6 2017/07/06 06:19:15 mlarkin Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
#define PCI_BAR_TYPE_IO 0x0
#define PCI_BAR_TYPE_MMIO 0x1
-#define PCI_MAX_PIC_IRQS 8
+#define PCI_MAX_PIC_IRQS 10
typedef int (*pci_cs_fn_t)(int dir, uint8_t reg, uint32_t *data);
typedef int (*pci_iobar_fn_t)(int dir, uint16_t reg, uint32_t *data, uint8_t *,