Re: [Qemu-devel] [PATCH v3 2/9] virtio-blk: Convert VirtIOBlockReq.elem to pointer

2014-06-06 Thread Stefan Hajnoczi
On Fri, Jun 06, 2014 at 09:53:23AM +0800, Fam Zheng wrote: > diff --git a/hw/block/virtio-blk.c b/hw/block/virtio-blk.c > index 49507ac..388741e 100644 > --- a/hw/block/virtio-blk.c > +++ b/hw/block/virtio-blk.c > @@ -27,6 +27,22 @@ > #endif > #include "hw/virtio/virtio-bus.h" > > +static VirtI

[Qemu-devel] [PATCH v3 2/9] virtio-blk: Convert VirtIOBlockReq.elem to pointer

2014-06-05 Thread Fam Zheng
This will make converging with dataplane code easier. Add virtio_blk_free_request to handle the freeing of request internal fields. Signed-off-by: Fam Zheng --- hw/block/virtio-blk.c | 85 +++--- include/hw/virtio/virtio-blk.h | 2 +- 2 files change