Skip to content

TMK documentation #1188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

TMK documentation #1188

wants to merge 1 commit into from

Conversation

romank-msft
Copy link
Contributor

#1059 mentioned that there is no documentation for the TMKs. Add few paragraphs to the Guide to make it easier for the folks to get excited about the topic.

@romank-msft romank-msft requested a review from a team as a code owner April 15, 2025 18:08
@github-actions github-actions bot added the Guide label Apr 15, 2025
1. Build it:

```sh
cargo build -p simple_tmk --config openhcl/minimal_rt/x86_64-config.toml --release
Copy link

@kromych kromych Apr 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for arm64:

cargo +nightly build -p simple_tmk --config openhcl/minimal_rt/aarch64-config.toml \
    --target openhcl/minimal_rt/aarch64-minimal_rt-none.json --release

as the aarch64-unknown-none doesn't support static PIEs.

2. See the list of tests:

```sh
cargo run -p tmk_vmm -- --tmk target/x86_64-unknown-none/release/simple_tmk --list
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arm64:

cargo run -p tmk_vmm -- --tmk target/aarch64-minimal_rt-none/release/simple_tmk --list

3. Choose a specific test, or run all (the default):

```sh
cargo run -p tmk_vmm -- --tmk target/x86_64-unknown-none/release/simple_tmk --hv kvm
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arm64

cargo run -p tmk_vmm -- --tmk target/aarch64-minimal_rt-none/release/simple_tmk --hv hvf

can use whp or kvm, too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants