From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: qemu-devel@nongnu.org
Cc: pannengyuan@huawei.com, mst@redhat.com, groug@kaod.org,
zhang.zhanghailiang@huawei.com
Subject: Re: [PATCH v2 2/2] virtio-9p-device: convert to new virtio_delete_queue
Date: Fri, 17 Jan 2020 14:03:31 +0100 [thread overview]
Message-ID: <1681481.LA4rHMh2Io@silver> (raw)
In-Reply-To: <20200117060927.51996-3-pannengyuan@huawei.com>
On Freitag, 17. Januar 2020 07:09:27 CET pannengyuan@huawei.com wrote:
> From: Pan Nengyuan <pannengyuan@huawei.com>
>
> Use virtio_delete_queue to make it more clear.
>
> Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com>
> ---
> Changes V2 to V1:
> - replace virtio_del_queue to virtio_delete_queue to make it more clear.
> ---
> hw/9pfs/virtio-9p-device.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c
> index 910dc5045e..b146387ae2 100644
> --- a/hw/9pfs/virtio-9p-device.c
> +++ b/hw/9pfs/virtio-9p-device.c
> @@ -215,7 +215,7 @@ static void virtio_9p_device_unrealize(DeviceState *dev,
> Error **errp) V9fsVirtioState *v = VIRTIO_9P(dev);
> V9fsState *s = &v->state;
>
> - virtio_del_queue(vdev, 0);
> + virtio_delete_queue(v->vq);
> virtio_cleanup(vdev);
> v9fs_device_unrealize_common(s, errp);
> }
No idea what the deprecation plans of virtio_del_queue() are; no behaviour
change, so this patch is certainly not high priority. On the other hand though
this change most certainly will be required on day.
I can imagine Greg might want to see a more verbose commit message, but that's
beyond my personal detail level, so from my side
Acked-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
prev parent reply other threads:[~2020-01-17 13:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-17 6:09 [PATCH v2 0/2] fix memleaks in virtio_9p_device_unrealize pannengyuan
2020-01-17 6:09 ` [PATCH v2 1/2] virtio-9p-device: fix memleak " pannengyuan
2020-01-17 12:52 ` Christian Schoenebeck
2020-01-17 13:43 ` Michael S. Tsirkin
2020-01-20 13:24 ` Greg Kurz
2020-01-17 6:09 ` [PATCH v2 2/2] virtio-9p-device: convert to new virtio_delete_queue pannengyuan
2020-01-17 13:03 ` Christian Schoenebeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1681481.LA4rHMh2Io@silver \
--to=qemu_oss@crudebyte.com \
--cc=groug@kaod.org \
--cc=mst@redhat.com \
--cc=pannengyuan@huawei.com \
--cc=qemu-devel@nongnu.org \
--cc=zhang.zhanghailiang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).