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

console does not attach if domain exits too quickly #23

Open
anttikantee opened this issue Jan 20, 2015 · 0 comments
Open

console does not attach if domain exits too quickly #23

anttikantee opened this issue Jan 20, 2015 · 0 comments
Labels

Comments

@anttikantee
Copy link
Contributor

In case the domain hits an err() or something similar early in the execution, xl create -c domain_config does not display anything useful. I assume the same applies to running the guest via rumprun -i.

It's probably a Xen tool race condition, although I'm not 100% sure.

As a workaround, I added a sleep(1) along the exit(error) path:
9bc666a

The purpose of this issue is mostly to remind us that in case we want really short-lived guests in a production case some day, at least the console cannot be relied on.

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

No branches or pull requests

1 participant