Re: [Qemu-devel] QEMU API for modelling of user's hardware
I've tried to collect some information from the QEMU sources (I've built my local LXR service with QEMU sources tom make it easier ;-) ), and from different web sources. As a result I've prepared a model of Bus Mastering PCI device which is a simple AES256 accelerator. Sources are available on alt.sources (subject:WZENC1 - Model of Bus Mastering PCI AES256 accelerator for QEM) or in Google archive: http://groups.google.com/group/alt.sources/browse_thread/thread/cc80f25d573813f5 I hope, that it will be useful as didactic aid for implementing of device drivers, but may also be a skeleton for model of real hardware... -- Regards, Wojtek
Re: [Qemu-devel] QEMU API for modelling of user's hardware
wzab w...@ise.pw.edu.pl writes: I've found the following source of information regarding writing of device models for QEMU: http://www.linux-kvm.org/wiki/images/f/fe/2010-forum-armbru-qdev.pdf http://www.google.com/url?sa=Dq=http://www.linux-kvm.org/wiki/images/f/fe/2010-forum-armbru-qdev.pdf Is there any better or more detailed description (except of sources themselves ;-) )? I'm not aware of any. Yes, this sucks.
Re: [Qemu-devel] QEMU API for modelling of user's hardware
I've found the following source of information regarding writing of device models for QEMU: http://www.linux-kvm.org/wiki/images/f/fe/2010-forum-armbru-qdev.pdf http://www.google.com/url?sa=Dq=http://www.linux-kvm.org/wiki/images/f/fe/2010-forum-armbru-qdev.pdf Is there any better or more detailed description (except of sources themselves ;-) )? -- TIA Regards, Wojtek
[Qemu-devel] QEMU API for modelling of user's hardware
Hi, I wanted to prepare QEMU models of new hardware for my students, to let them to write and debug device drivers before the real hardware is available (or even to optimize the design of this hardware before it is really made). I was able to establish the basic communication with memory mapped registers of my device, but when it comes to more advanced topics like DMA and interrupts, things start to be difficult. Is there any reference or manual for people trying to write device models for QEMU? I know that the hw subdirectory is full of examples, but I'd prefere something more formal, with info which solutions are optimal, which are deprecated... Thank you very much in advance, Wojciech Zabolotny