crosvm/msg_socket
Dylan Reid 57c667e07a cros_async: Convert FD executor to be more similar to uring
Convert the FD executor to have a more similar interface to the
uring_executor. This has two benefits.

1) This allows a single wrapper `PollOrRing` to be used. It will select
uring or fd transparent to the user, allowing users to get the benefits
of uring when available without changing their code.

2) Having the `PendingWaker` and Registered source manage FD lifetime
removes the need for custom drop implementations for each Future. This
simplifies things so much there is no longer need for the async_core
crate which is removed.

Change-Id: Ic6c84c4e668cbfe5eddeb75129b34d77f66b096d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2227087
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: Dylan Reid <dgreid@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Dylan Reid <dgreid@chromium.org>
2020-06-26 18:22:10 +00:00
..
msg_on_socket_derive Implements the Hypervisor trait for Kvm. 2020-05-15 16:57:22 +00:00
src cros_async: Convert FD executor to be more similar to uring 2020-06-26 18:22:10 +00:00
tests Extracts BalloonAdjust from VmRequest. 2019-04-25 00:59:51 -07:00
Cargo.toml msg_socket: impl for Arc and Mutex 2020-05-05 15:46:45 +00:00