crosvm/devices
Richard Otap 2594731840 devices: virtio: vsock: Use async event without reset
When receiving guest data, we wait on an event after writing them out to
the named pipe so that we know that the write has completed. This resets
the event. Then we call `GetOverlappedResult` with `bWait` set. While
this does behave correctly because `GetOverlappedResult` checks the
internal status of the request before waiting, there's no need to have
the event get reset here.

BUG: b:255635953
TEST: Built and ran crosvm downstream.
Change-Id: Ic031821dda1e7ae696dfafa812afa4c0b6cff0ec
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4062049
Reviewed-by: Noah Gold <nkgold@google.com>
Commit-Queue: Richard Otap <rotap@google.com>
2022-11-29 04:09:19 +00:00
..
src devices: virtio: vsock: Use async event without reset 2022-11-29 04:09:19 +00:00
tests/irqchip Reformat all files with nightly 2022-10-31 21:33:33 +00:00
Cargo.toml devices: Enable net_util/slirp if slirp is enabled 2022-11-19 07:13:20 +00:00