crosvm/third_party
Alexandre Courbot 64a3fc2d08 devices: vhost-user: remove Arc from SlaveListener and SlaveReqHandler
The SlaveReqHandler should be the sole owner of a VhostUserBackend since
it calls its mutable methods, so we shouldn't need an Arc here. If
sharing is necessary users can use their own locking mechanism.

Single ownership will help to retrieve the backend after a client
disconnects, to reuse it for another connection if needed.

BUG=b:229554679
BUG=b:216407443
TEST=cargo test -p vmm_vhost
TEST=vhost-user console device works.
TEST=cargo test -p devices

Change-Id: I2358c807ac3ddb1ee4b29d97df0ade5a3e30a85a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3591108
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Richard Zhang <rizhang@google.com>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-05-27 06:53:06 +00:00
..
minigbm@ef852e007c Uprev all submodules 2021-10-19 19:12:53 +00:00
minijail@77c59db8ff third_party/minijail: update to latest 2022-05-06 23:09:20 +00:00
virglrenderer@4770f706db virglrenderer: Add cross-domain support 2022-05-20 20:49:55 +00:00
vmm_vhost devices: vhost-user: remove Arc from SlaveListener and SlaveReqHandler 2022-05-27 06:53:06 +00:00