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 <f...@redhat.com> --- hw/block/dataplane/virtio-blk.c | 13 ++++++++----- hw/block/virtio-blk.c | 8 ++++++-- include/hw/virtio/virtio-blk.h | 9 +++++++-- 3 files changed, 21 insertions(+), 9 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>