17.3.1. Performing a Core Dump
You can use xm to perform a memory dump of an existing virtual machine.
xm dump-core [-C] [domain-id]
This command dumps the virtual machine's memory to the xendump file located in the /var/lib/xen/dump/ directory. You can terminate the virtual machine by including the -C option.