Re: [Qemu-block] [PATCH v3 04/12] virtio-blk: Move complete_request to 'ops' structure

2015-05-18 Thread Max Reitz
On 15.05.2015 08:04, Fam Zheng wrote: Should more ops be added to differentiate code between dataplane and non-dataplane, the new saved_ops approach will be cleaner than messing with N pointers. Signed-off-by: Fam Zheng --- hw/block/dataplane/virtio-blk.c | 13 - hw/block/virtio-

[Qemu-block] [PATCH v3 04/12] virtio-blk: Move complete_request to 'ops' structure

2015-05-14 Thread Fam Zheng
Should more ops be added to differentiate code between dataplane and non-dataplane, the new saved_ops approach will be cleaner than messing with N pointers. Signed-off-by: Fam Zheng --- hw/block/dataplane/virtio-blk.c | 13 - hw/block/virtio-blk.c | 8 ++-- include/hw/