Programming & DevOps
Writing a Linux Driver for QEMU’s Debugcon Device
In earlier blog posts, I discussed QEMU’s debugcon device and presented a minimal driver for it written in x86 assembly. In this blog post, we go a little higher and write a driver for Linux in C. The driver should provide a /dev/debugcon device so that processes can open the driver device file and write data to it. Hence, $ echo "hello from Linux" > /dev/debugcon will write to the debugcon device. Only...
Read more