Re: [PATCH v3 4/4] vhost-user: refactor send_resp code

2023-06-22 Thread Michael S. Tsirkin
On Wed, May 24, 2023 at 11:13:33AM +0200, Albert Esteve wrote: > Refactor code to send response message so that > all common parts both for the common REPLY_ACK > case, and other data responses, can call it and > avoid code repetition. > > Signed-off-by: Albert Esteve > --- > hw/virtio/vhost-use

[PATCH v3 4/4] vhost-user: refactor send_resp code

2023-05-24 Thread Albert Esteve
Refactor code to send response message so that all common parts both for the common REPLY_ACK case, and other data responses, can call it and avoid code repetition. Signed-off-by: Albert Esteve --- hw/virtio/vhost-user.c | 52 +++--- 1 file changed, 24 inserti