XCP-NG Kernel Driver Template
As you know, XCP-NG uses a highly modified kernel 4.4. A lot of device drivers are already present in this kernel tree, however there are edge cases where one wants to add a new driver.
We have added a simple repo which you can fork, add your driver source code and let XCP-NG build system do the rest of work for you
The output is located in RPMS folder, which you can ship to your XCP-NG host and install.
Please have a look https://github.com/xcp-ng-rpms/kernel-driver-template and share your feedback on being able to build and test your first driver.