[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 2/9] virtio-blk: make some functions static
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v3 2/9] virtio-blk: make some functions static |
Date: |
Mon, 26 Sep 2016 17:15:15 +0100 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Mon, Sep 26, 2016 at 10:34:05AM +0200, Greg Kurz wrote:
> Some functions that were called from the dataplane code are now only used
> locally:
>
> virtio_blk_init_request()
> virtio_blk_handle_request()
> virtio_blk_submit_multireq()
>
> since commit "03de2f527499 virtio-blk: do not use vring in dataplane", and
>
> virtio_blk_free_request()
>
> since commit "6aa46d8ff1ee virtio: move VirtQueueElement at the beginning
> of the structs".
>
> This patch converts them to static.
>
> Signed-off-by: Greg Kurz <address@hidden>
> ---
> v3: This was "virtio-blk: turn virtio_blk_handle_request() into a static
> function" in v2. It turns out that there are some more candidates.
> ---
> hw/block/virtio-blk.c | 10 +++++-----
> include/hw/virtio/virtio-blk.h | 8 --------
> 2 files changed, 5 insertions(+), 13 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature
- [Qemu-devel] [PATCH v3 0/9] virtio: avoid inappropriate QEMU termination, Greg Kurz, 2016/09/26
- [Qemu-devel] [PATCH v3 1/9] virtio-9p: add parentheses to sizeof operator, Greg Kurz, 2016/09/26
- [Qemu-devel] [PATCH v3 2/9] virtio-blk: make some functions static, Greg Kurz, 2016/09/26
- Re: [Qemu-devel] [PATCH v3 2/9] virtio-blk: make some functions static,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH v3 3/9] virtio-9p: handle handle_9p_output() error, Greg Kurz, 2016/09/26
- [Qemu-devel] [PATCH v3 4/9] virtio-blk: handle virtio_blk_handle_request() errors, Greg Kurz, 2016/09/26
- [Qemu-devel] [PATCH v3 5/9] virtio-net: handle virtio_net_handle_ctrl() error, Greg Kurz, 2016/09/26
- [Qemu-devel] [PATCH v3 6/9] virtio-net: handle virtio_net_receive() errors, Greg Kurz, 2016/09/26
- [Qemu-devel] [PATCH v3 7/9] virtio-net: handle virtio_net_flush_tx() errors, Greg Kurz, 2016/09/26