[PATCH 0/2] vhost user one time message fixes

2023-06-28 Thread Tom Lonergan
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

[PATCH 1/2] vhost-user: Change one_time to per_device request

2023-06-28 Thread Tom Lonergan
device. Therefore, as discussed in [1], vhost_user_one_time_request should be renamed to vhost_user_per_device_request and the relevant comments updated to match the real functionality. [1] https://lore.kernel.org/qemu-devel/20230127083027-mutt-send-email-...@kernel.org/ Signed-off-by: Tom Lonergan

[PATCH 2/2] vhost-user: Make RESET_DEVICE a per device message

2023-06-28 Thread Tom Lonergan
A device reset is issued per device, not per VQ. The legacy device reset message, VHOST_USER_RESET_OWNER, is already a per device message. Therefore, this change adds the proper message, VHOST_USER_RESET_DEVICE, to per device messages. Signed-off-by: Tom Lonergan --- hw/virtio/vhost-user.c | 1