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