qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] vhost user one time message fixes
@ 2023-06-28 16:39 Tom Lonergan
  2023-06-28 16:39 ` [PATCH 1/2] vhost-user: Change one_time to per_device request Tom Lonergan
  2023-06-28 16:39 ` [PATCH 2/2] vhost-user: Make RESET_DEVICE a per device message Tom Lonergan
  0 siblings, 2 replies; 5+ messages in thread
From: Tom Lonergan @ 2023-06-28 16:39 UTC (permalink / raw)
  To: mst; +Cc: raphael.norwitz, qemu-devel, yuanmh12, Tom Lonergan

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-30 12:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-28 16:39 [PATCH 0/2] vhost user one time message fixes Tom Lonergan
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

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).