crosvm/tests
Zach Reizner 5bff67d485 tests: test to see if crosvm can boot a kernel
This is the first `cargo test` which uses a linux kernel binary in
testing crosvm's major functionality. To get that binary, the test tries
various sources which may be influenced by the enviroment. If need be,
the chromiumos kernel is downloaded via git, configured, and built so
that crosvm can use it. The resulting binary is cached so that other
tests which need it can run much quicker.

TEST=cargo test -- boot
BUG=None

Cq-Depend: chromium:1867729
Change-Id: I123441d358ef886e0d7369eaa4ebd87373026d99
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1742924
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Commit-Queue: Zach Reizner <zachr@chromium.org>
Auto-Submit: Zach Reizner <zachr@chromium.org>
2019-10-31 06:01:58 +00:00
..
boot.rs tests: test to see if crosvm can boot a kernel 2019-10-31 06:01:58 +00:00
mini_plugin_template.c add support for accessing debug registers in the plugin process 2018-02-12 22:42:35 -08:00
plugin.policy crosvm: add getpid and prlimit to seccomp 2018-10-23 02:55:29 -07:00
plugin_adder.c allow non-dirty log memory regions from the plugin process 2018-02-12 22:42:37 -08:00
plugin_dirty_log.c allow non-dirty log memory regions from the plugin process 2018-02-12 22:42:37 -08:00
plugin_extensions.c allow plugin to query for KVM extensions 2018-02-12 22:42:40 -08:00
plugin_ioevent.c allow non-dirty log memory regions from the plugin process 2018-02-12 22:42:37 -08:00
plugin_irqfd.c allow non-dirty log memory regions from the plugin process 2018-02-12 22:42:37 -08:00
plugin_msr_index_list.c plugin: allow retrieving list of supported MSRs 2018-07-31 16:37:06 -07:00
plugin_net_config.c plugin: add missing #include <string.h> in test 2019-10-22 00:09:26 +00:00
plugin_supported_cpuid.c allow plugin to query KVM for supported/emulated CPUIDs 2018-02-28 21:30:20 -08:00
plugin_vcpu_pause.c Fix race between un-pausing vcpu and requesting vcpu pause 2018-03-08 00:37:33 -08:00
plugin_vm_state.c plugin: allow retrieving and setting VM clock 2019-01-22 21:05:18 -08:00
plugins.rs use SharedMemory::{named, anon} to replace ::new 2019-09-11 09:34:12 +00:00