XenServer error recovery

Reset without restarting (if things are hung and aren’t going well):
xe-toolstack-restart

View current tasks:
xe task-list

Power off VM if hung (but it can take a long time – shut down by itself while checking commands this time)
xe vm-reboot vm=(name or UUID of VM) –force

xe vm-reset-powerstate vm=(name or UUID of VM) –force