Prior to the latest updates, when I would shutdown an HVM Linux
guest via “xm console”, it would shutdown and close the console,
leaving me at the shell prompt, and “xm list” would work, showing
all the other domains still running.
Using the latest checkout of xen-unstable.hg (changeset 16985:e3e8bdb5d52d),
this is now what happens:
Connected to the guest console (“xm console”), I
type “shutdown –h now”:
Turning off quotas:
Unmounting pipe file systems:
Unmounting file systems:
md: stopping all md devices.
md: md0 switched to read-only mode.
At this point, the console process never ends.
In /var/log/xen/xend.log, I see:
[2008-02-07 20:52:40 5027] INFO (XendDomain:1167) Domain
CentOS (1) unpaused.
[2008-02-07 20:57:02 5027] INFO (XendDomainInfo:1285) Domain
has shutdown: name=CentOS id=1 reason=poweroff.
[2008-02-07 20:57:02 5027] DEBUG (XendDomainInfo:1922)
[2008-02-07 20:57:02 5027] DEBUG (XendDomainInfo:1939)
[2008-02-07 20:57:03 5027] DEBUG (XendDomainInfo:1539)
Destroying device model
And it looks as if xend is waiting for something, because it
never responds to “xm” commands:
# xm list
I hope this report is useful.