mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
The previous implementation would lose track of the host output io::Write stream on receiving a virtio reset request, due to how the output instance was being passed around through Option instances. This change replaces one level of Option state with a reference instead, so the Console instance retains ownership over the output instance and the virtio-console Worker instance only holds a mutable reference. Test: Run with a virtio-console device that receives a virtio reset Bug: b/208540565 Change-Id: Ib672ac244a7209797e1d64feca913b12f31a66d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3309207 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Cody Schuffelen <schuffelen@google.com> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |