Re: [PATCH v4 2/9] vhost: simplify need reply handling

2023-01-31 Thread Maxime Coquelin
On 1/19/23 19:46, David Marchand wrote: Dedicate send_vhost_slave_message() helper to the case when no reply is needed. Add a send_vhost_slave_message_process_reply() helper for the opposite. This new helper merges both send_vhost_slave_message() and the code previously in process_slave_messa

[PATCH v4 2/9] vhost: simplify need reply handling

2023-01-19 Thread David Marchand
Dedicate send_vhost_slave_message() helper to the case when no reply is needed. Add a send_vhost_slave_message_process_reply() helper for the opposite. This new helper merges both send_vhost_slave_message() and the code previously in process_slave_message_reply(). The slave_req_lock lock is then o