mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
e392c46953
This is a layer above PollContext with a more generic interface. As PollContext is used so widely, this is quite a large change in order to accomodate the interface update, especially with the use of RawDescriptor. In some cases this has caused an echo of updates to RawDescriptor, which is fine because of our eventual goal to move the whole codebase to it regardless. Note there are a few instances of forcing the RawDescriptor update chain to stop, ex. ioctl. This is to keep the scope of this CL concentrated and avoid changing entire other areas. Note that this CL leaves out a few additional pieces of work: - The sole usage of EpollContext over PollContext (event_loop), which poses a bigger challenge for interface changes - Full PollToken renaming, which is a tiny change turned difficult due to the unavailability of type aliases for traits. - Renaming certain methods which have been updated to use RawDescriptor such as keep_fds. Some have enough dependencies that they are worth avoiding to keep this CL pointed, but will be addressed in future CLs to make sure the whole codebase is on the fd->descriptor train BUG=b:162363783 TEST=./build_test Change-Id: Iff2cfe8f90dea55f1388f8e91bdc698e121a8e43 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2455726 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Michael Hoyle <mikehoyle@google.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |