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

2023-06-30 Thread Raphael Norwitz
> On Jun 28, 2023, at 5:39 PM, Tom Lonergan wrote: > > Some devices, like virtio-scsi, consist of one vhost_dev, while others, like > virtio-net, contain multiple vhost_devs. The QEMU vhost-user code has a > concept of one-time messages which is misleading. One-time messages are sent > once per

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

2023-06-28 Thread Tom Lonergan
Some devices, like virtio-scsi, consist of one vhost_dev, while others, like virtio-net, contain multiple vhost_devs. The QEMU vhost-user code has a concept of one-time messages which is misleading. One-time messages are sent once per operation on the device, not once for the lifetime of the device