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

Implement support for "xl shutdown" #15

Open
mato opened this issue Nov 20, 2014 · 1 comment
Open

Implement support for "xl shutdown" #15

mato opened this issue Nov 20, 2014 · 1 comment

Comments

@mato
Copy link
Contributor

mato commented Nov 20, 2014

Currently there is no support for "xl shutdown" and the only way to shutdown a rumprun-xen domU is to kill it hard with "xl destroy". We should consider how to implement this, hopefully without opening the Pandora's box with "SIGTERM" written on it.

@anttikantee
Copy link
Contributor

As a first attempt, just set a "shutdown" flag and catch threads when they enter the scheduler. It's not 100% emulation, as explicit sigterm handlers will not be called, but I think just making sure the rump kernel processes exit before calling reboot will already do wonders (TCP connections will be closed, etc.).

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

No branches or pull requests

2 participants