-
Notifications
You must be signed in to change notification settings - Fork 1
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
Inform user that partitions are not to be executed alone #21
Comments
We should make sure the environment is checked as early as possible. Doing this lazily might not be the right way, since it's harder to find a condition in which it is save to abort the execution of the partition later, than earlier. |
How does one execute a parition freestanding in the first place? The |
I also can not reproduce the crash, same as @emilengler. Tested with the hello example and another partition. I'd like to close the issue as non-relevant. |
The partition images are just normal executables, statically linked. You can totally just execute them like |
I'm wondering then, what behavior do you see when directly executing a partition? |
The partition waits for a file-mutex that it never manages to aquire, but I don't see any crashes. |
Could you maybe provide a backtrace? |
Any updates? |
https://github.com/aeronautical-informatics/apex-linux/blob/3a503936950c6e47ac293481f1ff78a87a80b89a/partition/src/lib.rs#L28
panics if one tries to execute a partition freestanding, without the hypervisor:
Maybe it would be clever to print a message to the user, explaining briefly what to do instead (run the partition through the hypervisor).
The text was updated successfully, but these errors were encountered: