kvm: Dump guest rIP when the guest tried something unsupported
authorBorislav Petkov <bp@suse.de>
Fri, 20 Nov 2015 18:52:12 +0000 (19:52 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Dec 2015 17:49:48 +0000 (18:49 +0100)
commit671d9ab38097fae45ff4f24562789b98b51d37ec
treeb6ab3a4d95066376ef5354f8b2fe6903c0e106f6
parent8a86aea920f1bb1cf7050e48112227a1c42cafe5
kvm: Dump guest rIP when the guest tried something unsupported

It looks like this in action:

  kvm [5197]: vcpu0, guest rIP: 0xffffffff810187ba unhandled rdmsr: 0xc001102

and helps to pinpoint quickly where in the guest we did the unsupported
thing.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h