crosvm/tools/examples
Dennis Kempin df640d068c Add functional crosvm examples for running on linux
Two examples are added. A simple one and one with network
configured.

The examples are written in a way they can be integrated
with the mdbook to form a tutorial. This will ensure the
tutorial code snippets stay up to date.

The documentation for networking is added after
https://crrev.com/c/3237468 is merged.

BUG=b:214104901
TEST=./tools/examples/example_simple

Change-Id: I33682878858d8a0324fbb6a87e33cd55b29811b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3388063
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Tested-by: Dennis Kempin <denniskempin@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-01-18 23:24:00 +00:00
..
guest Add functional crosvm examples for running on linux 2022-01-18 23:24:00 +00:00
.gitignore Add functional crosvm examples for running on linux 2022-01-18 23:24:00 +00:00
example_network Add functional crosvm examples for running on linux 2022-01-18 23:24:00 +00:00
example_simple Add functional crosvm examples for running on linux 2022-01-18 23:24:00 +00:00
README.md Add functional crosvm examples for running on linux 2022-01-18 23:24:00 +00:00
setup_network Add functional crosvm examples for running on linux 2022-01-18 23:24:00 +00:00

Crosvm on Linux Example

This directory contains an examples for how to run a VM with crosvm on linux.

See Basic Usage for a tutorial on how to run the examples.