On Tue, Oct 30, 2012 at 04:26:33PM -0400, Prarit Bhargava wrote:
Debugging crash, panics, stack trace WARN_ONs, etc., from both virtual and
bare-metal boots can get difficult very quickly. While there are ways to
decipher the output and determine if the output is from a virtual guest,
the in-kernel hypervisors now have a single registration point
and set x86_hyper. We can use this to output additional debug
information during a panic/oops/stack trace.
Signed-off-by: Prarit Bhargava <redacted>
Cc: Avi Kivity <redacted>
Cc: Gleb Natapov <redacted>
Cc: Alex Williamson <redacted>
Cc: Marcelo Tostatti <redacted>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: kvm@vger.kernel.org
Cc: x86@kernel.org
[v2]: Modifications suggested by Ingo and added changes for similar output
from process.c
[v3]: Unify common code and move output to end of line
Looks useful.
Acked-by: Borislav Petkov <bp@alien8.de>
--
Regards/Gruss,
Boris.