xref: /aosp_15_r20/external/crosvm/tools/examples/baremetal/README.md (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1This is a small baremetal x86_64 application that can be booted with crosvm. You can simply do
2`cargo run` and it'll build it and use crosvm from `PATH` to launch it. Alternatively you can build
3it with `cargo build` and run with
4`crosvm run --disable-sandbox path/to/target/x86_64-naked/debug/baremetal`
5
6The application does nothing but output `Hello World!` log line over serial port and go into
7infinite loop. This is expected and you'll need to kill crosvm to stop it.
8