Kernel modules realized for learning purpose.
These modules are integrated and could be tested in bunch-linux project.
Covered arguments:
- Buffer in kernel space
To test kernel modules quickly, build the basic image
kas build ./kas/bunch-linux-basic.yml --update --force-checkout
Install QEMU :
sudo apt install qemu-system-x86
and run the compiled image within qemu :
qemu-system-x86_64 -drive file=build/tmp/deploy/images/qemux86-64/bunch-linux-basic-qemux86-64.rootfs.wic,format=raw -enable-kvm -cpu host -m 4096
The installed module will be located at:
/lib/modules/kernel-version/updates/
then use insmod to load the desired module.
Modules could be tested running the kernel-drivers-test.