Skip to content
Snippets Groups Projects
Commit 0390b93f authored by Nadav Har'El's avatar Nadav Har'El
Browse files

Change default signal handler to do poweroff() instead of abort()


Our default signal handler (for, e.g., ^C) used abort(), which results
in a hung VM, and is not very useful. Change this to osv::poweroff(),
which gives more useful behavior. Now one can, for example, run a
test with run.py and interrupt it in the middle with ^C causing the
VM to power off and run.py to complete.

Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
parent 9325f833
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment