How to implement virtual hardware in QEMU?
Levente Kurusa
levex at linux.com
Wed Jun 14 13:04:25 EDT 2017
Hello,
On Wed, Jun 14, 2017 at 01:17:57AM +0000, Douglas Su wrote:
> Hello everyone,
>
>
> I want to implement some virtual hardware in QEMU for driver testing. For example, to implement a timer which sends interrupt to CPU periodically. However, I can't find any documentation which details the interfaces and the framework. The only clue is the `hw` directory in the source tree of QEMU, but it is so complex for a beginners to start up.
>
>
> So, are there helpful videos or articles?
I wrote something like this a few years ago:
https://github.com/levex/kernel-qemu-pci
Not sure if it still works, but it may be enough to get you started.
Hope this helps.
Levente
More information about the Kernelnewbies
mailing list