Skip to contentSkip to conversation

xm shutdown --all --wait and zombie domains

DISCUSSION Chris Bainbridge 2 participants 2 messages Oct 7, 2005

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
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.