mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
33e509a53b
GET_PARAMS and GET_PARAMS_EXT's reply can be delayed if a session is ongoing but no input buffer has been received yet. When this happens we store the command into a set of pending commands, but when doing so we only allowed for a reply to GET_PARAMS to be returned, which causes the wrong reply to be sent if the guest used GET_PARAMS_EXT. Fix this by storing whether the EXT variant has been used as a boolean in the command and replying accordingly. BUG=b:193202566 TEST=arc.VideoEncodeAccel.h264_192p_i420_vm passes without https://crrev.com/c/3349429 TEST=arc.VideoEncodeAccel.h264_192p_i420_vm passes with https://crrev.com/c/3349429 Change-Id: I6d135c611a32d0f107ac9f437b046f4309b54dba Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3382501 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |