Received: from eggs.gnu.org ([2001:4830:134:3::10]:40789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwmwV-0004aE-2M for qemu-devel@nongnu.org; Tue, 17 Jun 2014 02:32:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwmwO-0006Z3-MW for qemu-devel@nongnu.org; Tue, 17 Jun 2014 02:32:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwmwO-0006Yt-F8 for qemu-devel@nongnu.org; Tue, 17 Jun 2014 02:32:20 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5H6WJTX021866 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 17 Jun 2014 02:32:19 -0400 From: Fam Zheng Date: Tue, 17 Jun 2014 14:32:10 +0800 Message-Id: <1402986730-25642-8-git-send-email-famz@redhat.com> In-Reply-To: <1402986730-25642-1-git-send-email-famz@redhat.com> References: <1402986730-25642-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v2 7/7] virtio-blk: Rename complete_request_early to complete_request_vring List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , Stefan Hajnoczi The old name is misleading in its new usage, so rename it. Signed-off-by: Fam Zheng --- hw/block/dataplane/virtio-blk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/block/dataplane/virtio-blk.c b/hw/block/dataplane/virtio-blk.c index b6afa55..09bd2c7 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 */ -- 2.0.0