KVM: SVM: Dump vmcb contents on failed vmrun
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 5 May 2010 14:04:42 +0000 (16:04 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:38 +0000 (10:35 +0300)
commit3f10c846f8f9e6a32bbfeefaf7dda7ff51c7da29
treec246c4e3ed903e325365e9dabb861be51b1ed69f
parentd94e1dc9af60e3431a586c3edfbe42d8a0d3932b
KVM: SVM: Dump vmcb contents on failed vmrun

This patch adds a function to dump the vmcb into the kernel
log and calls it after a failed vmrun to ease debugging.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c