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

Main process always exits with status code 1 #152

Open
nrabulinski opened this issue Mar 4, 2025 · 1 comment
Open

Main process always exits with status code 1 #152

nrabulinski opened this issue Mar 4, 2025 · 1 comment

Comments

@nrabulinski
Copy link

I haven't had the time to properly diagnose this issue and I think it may have to do with libkrun itself rather than muvm, but I'm writing about it here and maybe someone can come and chime in how I'm holding it wrong.

The "main" muvm process, that is, the one that started the VM, always returns exit code 1, regardless of what happens inside the VM and how it exits. This is not the case for "child" processes, which only just request launching a process in the VM, as in those cases the status code is reported as it should be.

I'm seeing this behavior on muvm 0.3.1 with libkrun 1.10.1, I haven't tried tried master for either (yet).

@nrabulinski
Copy link
Author

Ironically #54 would resolve this too, but ideally I think this should be looked into?

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

1 participant