अनुज <anu...@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.