xm shutdown --all --wait and zombie domains
At the moment xm shutdown --all --wait hangs with a zombie domain. This means it hangs xend stop on dom0 shutdown.. I see no use for this behaviour, it would be better to skip Zombie-Domain-* domains.
Quoted 3 lines · Chris Bainbridge
At the moment xm shutdown --all --wait hangs with a zombie domain. This means it hangs xend stop on dom0 shutdown.. I see no use for this behaviour, it would be better to skip Zombie-Domain-* domains.
I agree. The waiting code is in xen/xm/shutdown.py, you just need to check whether the state string returned by the server contains a 'd', and if so, treat it as dead. A patch would be appreciated!
Ewan.