Developing custom PCI devices in qemu

2011-03-16 Thread अनुज
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

Re: [Qemu-devel] Developing custom PCI devices in qemu

2011-03-16 Thread Markus Armbruster
अनुज 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

[PATCH] virtio: Decrement avail idx on buffer detach

2011-03-16 Thread Amit Shah
When detaching a buffer from a vq, the avail.idx value should be decremented as well. This was noticed by hot-unplugging a virtio console port and then plugging in a new one on the same number (re-using the vqs which were just 'disowned'). qemu reported 'Guest moved used index from 0 to 256'

Re: [PATCH 00/02] virtio: Virtio platform driver

2011-03-16 Thread Ira W. Snyder
On Wed, Mar 16, 2011 at 02:17:15PM +0900, Magnus Damm wrote: Hi Rusty, On Wed, Mar 16, 2011 at 12:46 PM, Rusty Russell ru...@rustcorp.com.au wrote: On Thu, 10 Mar 2011 16:05:41 +0900, Magnus Damm magnus.d...@gmail.com wrote: virtio: Virtio platform driver [PATCH 01/02] virtio: Break