mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
64a3fc2d08
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> |
||
---|---|---|
.. | ||
minigbm@ef852e007c | ||
minijail@77c59db8ff | ||
virglrenderer@4770f706db | ||
vmm_vhost |