This test case verifies that a crash dump can be generated for a Fedora Xen DomU.
How to test
- Make sure your dom0 is configured to automatically dump core when a guest crashes. This is typically set in the /etc/xen/xend-config.sxp file; you'll need to change the parameter
(enable-dump yes), and restart xend on the dom0.
- Inside the guest, run
$> echo c > /proc/sysrq-trigger
- The guest should crash, and the dom0 should take over and dump a core.