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/i386/include | |
parent | 29593120223174d2c2f70f14f088583b951e6d7c (diff) |
vmmvar.h changes for upcoming cdrom support in vmd(8).
Diff from carlos cardenas, thanks
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/vmmvar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/i386/include/vmmvar.h b/sys/arch/i386/include/vmmvar.h index 32ba1234800..640120a7ab4 100644 --- a/sys/arch/i386/include/vmmvar.h +++ b/sys/arch/i386/include/vmmvar.h @@ -25,6 +25,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 @@ -357,6 +358,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]; |