]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: Allow internal errors reported to userspace to carry extra data
authorAvi Kivity <avi@redhat.com>
Wed, 4 Nov 2009 09:54:59 +0000 (11:54 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 15 Nov 2009 09:44:06 +0000 (11:44 +0200)
commitb23b8312c5e755547d8318df24189de7bd77ada3
treefc74efc607311ce4a7c5810ef22fdfd0feb67bc9
parent2aa60e1dbfb8d952404af17fa8cb12c231dcfb41
KVM: Allow internal errors reported to userspace to carry extra data

Usually userspace will freeze the guest so we can inspect it, but some
internal state is not available.  Add extra data to internal error
reporting so we can expose it to the debugger.  Extra data is specific
to the suberror.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/vmx.c
include/linux/kvm.h
virt/kvm/kvm_main.c