From: Fam Zheng Date: Tue, 17 Jun 2014 06:32:10 +0000 (+0800) Subject: virtio-blk: Rename complete_request_early to complete_request_vring X-Git-Tag: v2.1.0-rc0~17^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d64c60a75fde0fc40f7c97acbc972dea59db0162;p=thirdparty%2Fqemu.git virtio-blk: Rename complete_request_early to complete_request_vring The old name is misleading in its new usage, so rename it. Signed-off-by: Fam Zheng Tested-by: Paolo Bonzini Reviewed-by: Stefan Hajnoczi Signed-off-by: Kevin Wolf --- diff --git a/hw/block/dataplane/virtio-blk.c b/hw/block/dataplane/virtio-blk.c index b6afa55b96c..09bd2c70ab5 100644 --- a/hw/block/dataplane/virtio-blk.c +++ b/hw/block/dataplane/virtio-blk.c @@ -61,7 +61,7 @@ static void notify_guest(VirtIOBlockDataPlane *s) event_notifier_set(s->guest_notifier); } -static void complete_request_early(VirtIOBlockReq *req, unsigned char status) +static void complete_request_vring(VirtIOBlockReq *req, unsigned char status) { stb_p(&req->in->status, status); @@ -169,7 +169,7 @@ void virtio_blk_data_plane_create(VirtIODevice *vdev, VirtIOBlkConf *blk, *dataplane = s; s->saved_complete_request = vblk->complete_request; - vblk->complete_request = complete_request_early; + vblk->complete_request = complete_request_vring; } /* Context: QEMU global mutex held */