xen/console: introduce a 'w' debug-key that dumps the console ring
authorMatt Wilson <msw@amazon.com>
Mon, 1 Oct 2012 19:02:45 +0000 (20:02 +0100)
committerMatt Wilson <msw@amazon.com>
Mon, 1 Oct 2012 19:02:45 +0000 (20:02 +0100)
commit44499c683f349462465ee9151090e2af1bda71d3
tree34ee645869d4708d3746775b96d575e5f08e2abc
parent45f52f2646a5ad9092d94eb9474657b5b3e04025
xen/console: introduce a 'w' debug-key that dumps the console ring

This patch adds a new 'w' debug-key, chosen from the limited remaining
keys only due to its proximity to 'q', that dumps the console ring to
configured console devices. It's useful to for tracking down how an
unresponsive system got into a broken state via serial console.

Signed-off-by: Matt Wilson <msw@amazon.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/drivers/char/console.c