How to capture a vmcore on a hung KVM guest via NMI
Issue
- How do I capture a vmcore from a hung
KVMguest? - How to send
NMIsignal to aKVMguest?
Prerequisites
-
Kdumpshould be running and tested beforehand. Follow this article to configure and test theKdumputility:
How to troubleshoot kernel crashes, hangs, or reboots with kdump on Red Hat Enterprise Linux -
Alternatively,
KdumpHelper may be considered forKdumpconfiguration. -
NMIpanic tunables need to be enabled.
Environment
- Red Hat Enterprise Linux
KVM
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.