[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 7/7] virtio-blk: Rename complete_request_early to
From: |
Fam Zheng |
Subject: |
[Qemu-devel] [PATCH v2 7/7] virtio-blk: Rename complete_request_early to complete_request_vring |
Date: |
Tue, 17 Jun 2014 14:32:10 +0800 |
The old name is misleading in its new usage, so rename it.
Signed-off-by: Fam Zheng <address@hidden>
---
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
- [Qemu-devel] [PATCH v2 0/7] virtio-blk: Unify request handling of dataplane, Fam Zheng, 2014/06/17
- [Qemu-devel] [PATCH v2 1/7] block: make bdrv_query_stats() static, Fam Zheng, 2014/06/17
- [Qemu-devel] [PATCH v2 2/7] block: acquire AioContext in qmp_query_blockstats(), Fam Zheng, 2014/06/17
- [Qemu-devel] [PATCH v2 3/7] virtio-blk: Make request completion function virtual, Fam Zheng, 2014/06/17
- [Qemu-devel] [PATCH v2 4/7] virtio-blk: Export request handling functions to dataplane, Fam Zheng, 2014/06/17
- [Qemu-devel] [PATCH v2 5/7] virtio-blk: Schedule BH in the right context, Fam Zheng, 2014/06/17
- [Qemu-devel] [PATCH v2 6/7] virtio-blk: Unify {non-, }dataplane's request handlings, Fam Zheng, 2014/06/17
- [Qemu-devel] [PATCH v2 7/7] virtio-blk: Rename complete_request_early to complete_request_vring,
Fam Zheng <=
- Re: [Qemu-devel] [PATCH v2 0/7] virtio-blk: Unify request handling of dataplane, Paolo Bonzini, 2014/06/17
- Re: [Qemu-devel] [PATCH v2 0/7] virtio-blk: Unify request handling of dataplane, Stefan Hajnoczi, 2014/06/27