console: Properly switch consoles for screen dumps
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 15 Sep 2011 22:48:07 +0000 (00:48 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 16 Sep 2011 13:25:57 +0000 (08:25 -0500)
commita04d8c68784b1c6832ff80b01cfb775ff97281c2
tree41d10787574bb5a55805ee590ae7f7c52fbcd8e1
parenta33a78b3896621a46c6914069393ea81197c2d6e
console: Properly switch consoles for screen dumps

Do not mess with active_console, use console_select instead. This fixes
corrupt virtual monitor consoles after issuing the screendump command.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
console.c