-
Notifications
You must be signed in to change notification settings - Fork 22
Compile the source code
The source package includes 4 components:
- NVMe driver
- nvme-cli
- esxcli-nvme-plugin
- NOTE: nvme-test can not be built since latest DDK doesn't provide libraries needed by it.
To compile these source code, you need
- VMware Workbench
- Native DDK (previously referred to as the VMKAPI DDK)
- Host Extensions development kit to build esxcli-nvme-plugin or nvme-cli
- Copy the source code to the directory /opt/vmware/your-ddk-version/src/partner
-
Enter the driver module directory:
$ cd nvme/native/kernel -
Copy the Makefile from a sample driver to current directory:
$ cp /opt/vmware/your-ddk-version/src/partners/samples/sample-driver-name/Makefile Makefile -
Edit "VMKAPIDDK_VERSION" in nvme.sc to match your DDK version
$ make -
A build directory including the driver vib and other files is generated in the current directory
-
Enter the nvme-cli directory:
$ cd nvme/native/user/nvme-cli$ make -
A build directory including the nvme-cli vib and other files is generated in the current directory
-
Enter the nvme-cli directory:
$ cd nvme/native/user/esxcli-nvme-plugin$ make -
A build directory including the esxcli plugin vib and other files is generated in the current directory