Skip to content
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

command not found #1

Open
ramagali24 opened this issue Jun 6, 2024 · 7 comments
Open

command not found #1

ramagali24 opened this issue Jun 6, 2024 · 7 comments

Comments

@ramagali24
Copy link

Any suggestions.

buildigvm$ buildigvm --firmware /home/amd/cocounut-svsm/OVMF.fd --output sev-es.igvm --cpucount 4 sev-e
buildigvm: command not found

@roy-hopkins
Copy link
Owner

You probably just need to provide the path to buildigvm as it is not in your PATH.

I just used these exact commands to clone, build and run the tool:

$ git clone [email protected]:roy-hopkins/buildigvm.git
cd buildigvm
cargo build
./target/debug/buildigvm --firmware /path/to/OVMF.fd --output sev-es.igvm --cpucount 4 sev-es

@ramagali24
Copy link
Author

git clone [email protected]:roy-hopkins/buildigvm.git
Cloning into 'buildigvm'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@roy-hopkins
Copy link
Owner

Try cloning using https instead:

$ git clone https://github.com/roy-hopkins/buildigvm.git

@ramagali24
Copy link
Author

After repo, i can see only these files
buildigvm$ ls
Cargo.lock Cargo.toml README.md src

It seems buildigvm script missing to read input data and generate output
buildigvm --firmware /home/amd/cocounut-svsm/OVMF.fd --output sev-es.igvm --cpucount 4 sev-e
buildigvm: command not found

I don't see buildigvm script even from github

@roy-hopkins
Copy link
Owner

buildigvm is a tool built from the Rust source code in this repository. You have to build it with:

cargo build

You will then find it in ./target/debug/buildigvm.

@ramagali24
Copy link
Author

Thanks for explanation.
I still get this error. Any suggestions.

ILaunching SVSM guest

QEMU: /home/amd/cocounut-svsm/qemu-svsm/bin/qemu-system-x86_64
QEMU Version: 8.2.0
IGVM: /home/amd/cocounut-svsm/buildigvm/sev-es.igvm
IMAGE: /home/amd/cocounut-svsm/snp-guest.img

Press Ctrl-] to interrupt

qemu-system-x86_64: IGVM file does not describe a compatible supported platform

@ramagali24
Copy link
Author

This issues fixed after i move different version of IGVM.

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

No branches or pull requests

2 participants