Windows server 2008 R2 guest with the signed PV drivers. I'm using the XL toolkit.
</div>
<div>
 
</div>
<div>
I'm suffering an issue where the machine gets stuck at the "Will now reboot" line when the host is rebooted while the guests are still running. If I shut all the guests down using "xl shutdown" the guests do terminate properly (after about 30 seconds). If I then do a reboot on the host, it completes cleanly.
</div>
<div>
 
</div>
<div>
If I don't shutdown the guests, I have observed some possibly strange behaviour during the host shutdown before it hangs. In the shutdown progress I see:
</div>
<div>
 
</div>
<div style="margin-left: 30px;">
> Stopping xenconsoled
</div>
<div style="margin-left: 30px;">
> WARNING not stopping xenstored as it cannot be restarted
</div>
<div style="margin-left: 30px;">
> Shutting down Xen domains: Linuxguest1 (shut) Linuxguest1 (shut) Linuxguest2 (shut) Linuxguest2 (shut) Windowsguest (shut) SHUTDOWN_ALL * [done]
</div>
<div style="margin-left: 30px;">
 
</div>
<div>
The things I think are strange are that the two Linux guests are listed twice in the shutdown line despite each only being running once and that it blows straight through the line saying "[done]" without waiting for the guests to terminate. It then appears to unmount the discs before all the guests have wrapped up so they never do terminate. If I leave it, I get repeated kernel warnings that the reboot process has been delayed for more than 120 seconds. I waited over 300 seconds (the time specified in XENDOMAINS_STOP_MAXWAIT) but it doesn't time out and recover.
</div>
<div>
 
</div>
<div>
My xendomains file contains:
</div>
<div>
 
</div>
<div style="margin-left: 30px;">
XENDOMAINS_SYSRQ=""
</div>
<div style="margin-left: 30px;">
XENDOMAINS_USLEEP=100000
</div>
<div style="margin-left: 30px;">
XENDOMAINS_CREATE_USLEEP=5000000
</div>
<div style="margin-left: 30px;">
XENDOMAINS_MIGRATE=""
</div>
<div style="margin-left: 30px;">
XENDOMAINS_SAVE=
</div>
<div style="margin-left: 30px;">
XENDOMAINS_SHUTDOWN="--halt --wait"
</div>
<div style="margin-left: 30px;">
XENDOMAINS_SHUTDOWN_ALL="--all --halt --wait"
</div>
<div style="margin-left: 30px;">
XENDOMAINS_RESTORE=false
</div>
<div style="margin-left: 30px;">
XENDOMAINS_AUTO=/etc/xen/auto
</div>
<div style="margin-left: 30px;">
XENDOMAINS_AUTO_ONLY=false
</div>
<div style="margin-left: 30px;">
XENDOMAINS_STOP_MAXWAIT=300
</div>
<div style="margin-left: 30px;">
 
</div>
<div style="margin-left: 30px;">
 
</div>
<div>
I disabled the save and restore options because I am using PCI passthrough and trying to restore a saved VM caused the machine to crash at boot.
</div>
<div>
 
</div>
<div>
I