From: Tom Lonergan <tom.lonergan@nutanix.com>
To: mst@redhat.com
Cc: raphael.norwitz@nutanix.com, qemu-devel@nongnu.org,
yuanmh12@chinatelecom.cn, Tom Lonergan <tom.lonergan@nutanix.com>
Subject: [PATCH 0/2] vhost user one time message fixes
Date: Wed, 28 Jun 2023 16:39:25 +0000 [thread overview]
Message-ID: <20230628163927.108171-1-tom.lonergan@nutanix.com> (raw)
Add a missing message to vhost_user_one_time_request, and fix naming for the
function and update the associated comment.
Patch 1:
vhost_user_one_time_request is actually catching messages that are sent once
per device, not only once for the lifetime of the machine. I've renamed the
function to match the functionality and changed the comment to reflect that
as described in [1].
Patch 2:
VHOST_USER_RESET_DEVICE is used in the same cases as VHOST_USER_RESET_OWNER,
so I've added it to per device messages.
[1] https://lore.kernel.org/qemu-devel/20230127083027-mutt-send-email-mst@kernel.org/
Tom Lonergan (2):
vhost-user: Change one_time to per_device request
vhost-user: Make RESET_DEVICE a per device message
hw/virtio/vhost-user.c | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
--
2.22.3
next reply other threads:[~2023-06-28 16:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-28 16:39 Tom Lonergan [this message]
2023-06-28 16:39 ` [PATCH 1/2] vhost-user: Change one_time to per_device request Tom Lonergan
2023-06-30 12:15 ` Raphael Norwitz
2023-06-28 16:39 ` [PATCH 2/2] vhost-user: Make RESET_DEVICE a per device message Tom Lonergan
2023-06-30 12:16 ` Raphael Norwitz
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=20230628163927.108171-1-tom.lonergan@nutanix.com \
--to=tom.lonergan@nutanix.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=raphael.norwitz@nutanix.com \
--cc=yuanmh12@chinatelecom.cn \
/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).