Re: [Qemu-devel] virtio virt-queue and virt-ring

2013-12-03 Thread Stefan Hajnoczi
On Sun, Dec 01, 2013 at 05:12:52AM +, Yaodong Yang wrote: > Inside file ./hw/virtio/virtio.c, The following structs are defined. I > understood that for each virtual disk, there is a corresponding queue and > this queue is implemented by a ring. My questions is what is the meaning of > each

[Qemu-devel] virtio virt-queue and virt-ring

2013-11-30 Thread Yaodong Yang
Inside file ./hw/virtio/virtio.c, The following structs are defined. I understood that for each virtual disk, there is a corresponding queue and this queue is implemented by a ring. My questions is what is the meaning of each element inside struct VRing?Thanks a lot!typedef struct VRing{    unsigne