mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 20:04:20 +00:00
f202332893
Vhost worker uses the maximum queue size the host offers when setting a queue size to the vhost device, which leads inappropriate behavior when a guest preapares a virtqueue whose size is smaller than the maximum size. Fix the vhost worker to set the actual queue size to the vhost device. BUG=b:235857465 TEST=`cargo build` TEST=`./tools/run_tests` TEST=host and guest can communicate via vhost-vsock Change-Id: I99af745788c347ca2770b979252f8ea8dde34462 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3946422 Commit-Queue: Ryuichiro Chiba <chibar@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Takaya Saeki <takayas@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |