KVM guest example

With kdump, you do not need a dump device to initiate the dump.

Before you begin

Your Linux® instance must be set up for kdump as described in Setting up kdump.

Procedure

From the KVM host, issue a virsh inject-nmi command for the virtual server.
For example, to initiate the dump process for a virtual server vserv3, issue:
# virsh inject-nmi vserv3
Depending on the boot configuration, a console is available where boot messages for the kdump kernel indicate that the dump process started.

Results

kdump automatically collects the dump and reboots Linux.