Hi All I am interested in developing a custom PCI device for qemu. For learning purpose, It could be just a very basic device e.g. a device which just loopbacks the contents from device memory to some system buffer. Please guide me how such a device can be developed in qemu. Do qemu have some device model or device framework for developing custom virtual devices? Any documentation and samples will be very helpful. Thanks & Regards -- Anuj Aggarwal .''`. : :? : # apt-get install hakuna-matata `. `'` `- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/virtualization/attachments/20110316/0333bb90/attachment.htm
Markus Armbruster
2011-Mar-16 12:14 UTC
[Qemu-devel] Developing custom PCI devices in qemu
???? <anuj01 at gmail.com> writes:> Hi All > > I am interested in developing a custom PCI device for qemu. > For learning purpose, It could be just a very basic device e.g. a device > which just loopbacks the contents from device memory to some system buffer. > > Please guide me how such a device can be developed in qemu.One of the simpler PCI devices in the tree is the i6300esb watchdog, in hw/wdt_i6300esb.c.> Do qemu have some device model or device framework for developing custom > virtual devices? > > Any documentation and samples will be very helpful.I'm afraid you need to figure it out from code.