kvm: print suberror on all internal errors
commit977c7b6d8909464eb3a510829f534451d0adb227
authorRadim Krčmář <rkrcmar@redhat.com>
Tue, 21 Jan 2014 17:11:31 +0000 (21 18:11 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Feb 2014 16:33:54 +0000 (3 17:33 +0100)
tree8f59cd06b98a355a932c6a3ad4c3a0fa5e56be5d
parentf0b9b11164482a8a2283dee25cecc4a4c531259e
kvm: print suberror on all internal errors

KVM introduced internal error exit reason and suberror at the same time,
and later extended it with internal error data.
QEMU does not report suberror on hosts between these two events because
we check for the extension. (half a year in 2009, but it is misleading)

Fix by removing KVM_CAP_INTERNAL_ERROR_DATA condition on printf.

(partially improved by bb44e0d12df70 and ba4047cf848a3 in the past)

Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
kvm-all.c