On 27/8/23 20:29, Laszlo Ersek wrote:
The tails of the "vhost_user_set_vring_addr" and "vhost_user_set_u64"
functions are now byte-for-byte identical. Factor the common tail out to a
new function called "vhost_user_write_msg".
This is purely refactoring -- no observable change.
Cc: "Michael S. Tsirkin" <[email protected]> (supporter:vhost)
Cc: Eugenio Perez Martin <[email protected]>
Cc: German Maglione <[email protected]>
Cc: Liu Jiang <[email protected]>
Cc: Sergio Lopez Pascual <[email protected]>
Cc: Stefano Garzarella <[email protected]>
Signed-off-by: Laszlo Ersek <[email protected]>
---
hw/virtio/vhost-user.c | 66 +++++++++-----------
1 file changed, 28 insertions(+), 38 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>