crosvm/tools/examples
Daniel Verkamp 9fde8f499a examples/baremetal: exit instead of hanging
Use an INT3 (0xCC) instruction to cause the example to exit after
printing the message. This is more convenient than having to manually
kill crosvm from another terminal.

BUG=None
TEST=Run baremetal and observe that it exits

Change-Id: I4baeecca41d156c82bb1e1b27d0f8c2ba93959f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3691966
Reviewed-by: Anton Romanov <romanton@google.com>
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-06-23 22:30:40 +00:00
..
baremetal examples/baremetal: exit instead of hanging 2022-06-23 22:30:40 +00:00
guest
.gitignore
example_desktop examples: use rwdisk instead of rwroot 2022-06-17 17:43:41 +00:00
example_network examples: use rwdisk instead of rwroot 2022-06-17 17:43:41 +00:00
example_simple examples: use rwdisk instead of rwroot 2022-06-17 17:43:41 +00:00
README.md Reorganize usage doc and add example usage 2022-01-27 21:29:10 +00:00
setup_network Reorganize usage doc and add example usage 2022-01-27 21:29:10 +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.