crosvm/kvm/tests
Dylan Reid bb30b2f7cf Add runnable vcpu
Add a new type `RunnableVcpu` for a vcpu that is bound to a thread. This
adds type safety to ensure that vcpus are only ever run on one thread
because RunnableVcpu can't `Send`. It also ensures multiple vcpus can't
run on the same thread.

Change-Id: Ia50dc127bc7a4ea4ce3ca99ef1062edbcaa912d0
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1898909
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Zach Reizner <zachr@chromium.org>
2019-12-10 05:16:06 +00:00
..
dirty_log.rs Add runnable vcpu 2019-12-10 05:16:06 +00:00
read_only_memory.rs Add runnable vcpu 2019-12-10 05:16:06 +00:00
real_run_adder.rs Add runnable vcpu 2019-12-10 05:16:06 +00:00