xe vm-shutdown force=true vm=
xe vm-reset-powerstate force=true vm=
Log in to the host
Get the UUID of the VM that is hung
Run list_domains to get the domain ID of the VM
Run a destroy_domain on the domain ID
Now do a force reboot of the VM
Example CLI steps
xe vm-list name-label=vm001
list_domains|grep 6512c54b-4f3f-6737-3bc7-68b377f15a6a
/opt/xensource/debug/destroy_domain -domid 450
xe vm-reboot force=true vm=vm001
The VM should now be up and running again.
xe vm-reset-powerstate force=true vm=
Log in to the host
Get the UUID of the VM that is hung
Run list_domains to get the domain ID of the VM
Run a destroy_domain on the domain ID
Now do a force reboot of the VM
Example CLI steps
xe vm-list name-label=vm001
list_domains|grep 6512c54b-4f3f-6737-3bc7-68b377f15a6a
/opt/xensource/debug/destroy_domain -domid 450
xe vm-reboot force=true vm=vm001
The VM should now be up and running again.