diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2017-11-17 04:44:15 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2017-11-17 04:44:15 +0000 |
commit | d7d1988279293822be290e3f1ab4a3e9042a0a94 (patch) | |
tree | 94dfe38276195e945a8f4b1d2b0bc2e6ab72821b /sys/arch/amd64/include | |
parent | 29593120223174d2c2f70f14f088583b951e6d7c (diff) |
vmmvar.h changes for upcoming cdrom support in vmd(8).
Diff from carlos cardenas, thanks
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/vmmvar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h index 4847fa3defa..0d7eb4a0deb 100644 --- a/sys/arch/amd64/include/vmmvar.h +++ b/sys/arch/amd64/include/vmmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmmvar.h,v 1.47 2017/08/20 21:15:32 pd Exp $ */ +/* $OpenBSD: vmmvar.h,v 1.48 2017/11/17 04:44:14 mlarkin Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -26,6 +26,7 @@ #define VMM_MAX_MEM_RANGES 16 #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_KERNEL_PATH 128 #define VMM_MAX_VCPUS_PER_VM 64 @@ -419,6 +420,7 @@ struct vm_create_params { size_t vcp_nnics; struct vm_mem_range vcp_memranges[VMM_MAX_MEM_RANGES]; char vcp_disks[VMM_MAX_DISKS_PER_VM][VMM_MAX_PATH_DISK]; + char vcp_cdrom[VMM_MAX_PATH_CDROM]; char vcp_name[VMM_MAX_NAME_LEN]; char vcp_kernel[VMM_MAX_KERNEL_PATH]; uint8_t vcp_macs[VMM_MAX_NICS_PER_VM][6]; |